summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlli Salli <ollisal@gmail.com>2011-08-10 19:22:02 +0300
committerOlli Salli <ollisal@gmail.com>2011-08-10 19:22:02 +0300
commit5a62326a6d3e91820d6ccec78635151ec403dd1d (patch)
tree6b850e343f7de7d1124a5b0e4de2f01716a96d4d
parentbd22f64177ae9532b5dd3f6697355545bccc8625 (diff)
tube-caps: Test for a bidirectional (no Requested property) stream tube filter
-rw-r--r--tests/twisted/caps/tube-caps.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/twisted/caps/tube-caps.py b/tests/twisted/caps/tube-caps.py
index d74631cd..a70f286d 100644
--- a/tests/twisted/caps/tube-caps.py
+++ b/tests/twisted/caps/tube-caps.py
@@ -53,6 +53,11 @@ import ns
specialized_tube_allowed_properties = dbus.Array([cs.TARGET_HANDLE,
cs.TARGET_ID])
+bidir_daap_fixed_properties = dbus.Dictionary({
+ cs.TARGET_HANDLE_TYPE: cs.HT_CONTACT,
+ cs.CHANNEL_TYPE: cs.CHANNEL_TYPE_STREAM_TUBE,
+ cs.STREAM_TUBE_SERVICE: 'daap'
+ })
outgoing_daap_fixed_properties = dbus.Dictionary({
cs.TARGET_HANDLE_TYPE: cs.HT_CONTACT,
cs.CHANNEL_TYPE: cs.CHANNEL_TYPE_STREAM_TUBE,
@@ -331,7 +336,7 @@ def test_tube_caps_to_contact(q, bus, conn, stream):
sync_stream(q, stream)
advertise_caps(q, conn, stream,
- [incoming_daap_fixed_properties],
+ [bidir_daap_fixed_properties],
[ns.TUBES + '/stream#daap'],
[ns.TUBES + '/stream#http',
ns.TUBES + '/dbus#com.example.Go',