summaryrefslogtreecommitdiff
path: root/tests/twisted/tubes/close-muc-with-closed-tube.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/twisted/tubes/close-muc-with-closed-tube.py')
-rw-r--r--tests/twisted/tubes/close-muc-with-closed-tube.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/twisted/tubes/close-muc-with-closed-tube.py b/tests/twisted/tubes/close-muc-with-closed-tube.py
index 3f28d2aae..3cf23fdef 100644
--- a/tests/twisted/tubes/close-muc-with-closed-tube.py
+++ b/tests/twisted/tubes/close-muc-with-closed-tube.py
@@ -96,14 +96,14 @@ def test(q, bus, conn, stream):
stream.send(presence)
def new_chan_predicate(e):
- path, props = e.args[0][0]
+ path, props = e.args
return props[cs.CHANNEL_TYPE] == cs.CHANNEL_TYPE_DBUS_TUBE
# tube channel is automatically created
- event = q.expect('dbus-signal', signal='NewChannels',
+ event = q.expect('dbus-signal', signal='NewChannel',
predicate=new_chan_predicate)
- path, props = event.args[0][0]
+ path, props = event.args
assertEquals(cs.CHANNEL_TYPE_DBUS_TUBE, props[cs.CHANNEL_TYPE])
assertEquals(cs.HT_ROOM, props[cs.TARGET_HANDLE_TYPE])