diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-12-07 14:02:55 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-12-07 14:57:55 +0000 |
commit | 53e2cbc62004c947200968471e920e493a2d1ce7 (patch) | |
tree | 3ea43ab595e30ea28b0c4b020c1218602035b13c | |
parent | 67f7e7fa2934fcf56ff3e1851b5e20ff26b7939c (diff) |
Remove obsolete asynchronousity.
-rw-r--r-- | tests/twisted/muc/test-muc-ownership.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/twisted/muc/test-muc-ownership.py b/tests/twisted/muc/test-muc-ownership.py index e8e0bd946..078caf57a 100644 --- a/tests/twisted/muc/test-muc-ownership.py +++ b/tests/twisted/muc/test-muc-ownership.py @@ -19,12 +19,7 @@ def test(q, bus, conn, stream): q.expect('dbus-signal', signal='StatusChanged', args=[cs.CONN_STATUS_CONNECTED, cs.CSR_REQUESTED]) - # Need to call this asynchronously as it involves Gabble sending us a - # query - call_async(q, conn, 'RequestHandles', 2, ['chat@conf.localhost']) - - event = q.expect('dbus-return', method='RequestHandles') - room_handle = event.value[0][0] + room_handle = conn.RequestHandles(cs.HT_ROOM, ['chat@conf.localhost'])[0] call_async(q, conn, 'RequestChannel', cs.CHANNEL_TYPE_TEXT, cs.HT_ROOM, room_handle, True) |