summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2012-08-02 16:53:31 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2012-08-02 16:54:09 +0100
commit4a41e871b177a4ebf1aee20c194c2daf6ae2fb92 (patch)
treea24032d3118ae86e053082c7e58cd6d9f39f88b1
parentf459366bff38f43d957d7f67b55aaef640f2e4b8 (diff)
request-muc-tubes test: add TODO explaining why a test is commented
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--tests/twisted/avahi/tubes/request-muc-tubes.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/twisted/avahi/tubes/request-muc-tubes.py b/tests/twisted/avahi/tubes/request-muc-tubes.py
index 72ecbb19..8608fa0a 100644
--- a/tests/twisted/avahi/tubes/request-muc-tubes.py
+++ b/tests/twisted/avahi/tubes/request-muc-tubes.py
@@ -74,7 +74,10 @@ def test(q, bus, conn):
assert props[INITIATOR_ID] == self_name
# ensure the same channel
-# yours, ensured_path, ensured_props = conn.Requests.EnsureChannel(
+
+# TODO: the muc channel doesn't bother to look at existing tubes
+# before creating a new one. once that's fixed, uncomment this.
+# yours, ensured_path, _ = conn.Requests.EnsureChannel(
# { CHANNEL_TYPE: CHANNEL_TYPE_STREAM_TUBE,
# TARGET_HANDLE_TYPE: HT_ROOM,
# TARGET_HANDLE: handle,
@@ -82,7 +85,7 @@ def test(q, bus, conn):
# })
# assert not yours
-# assert ensured_path == tube_path, (ensured_path, tube_path2)
+# assert ensured_path == tube_path, (ensured_path, tube_path)
conn.Disconnect()