[telepathy-gabble/telepathy-gabble-0.8] Remove obsolete asynchronousity.
Will Thompson
will.thompson at collabora.co.uk
Mon Dec 7 06:02:55 PST 2009
---
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 e8e0bd9..078caf5 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 at conf.localhost'])
-
- event = q.expect('dbus-return', method='RequestHandles')
- room_handle = event.value[0][0]
+ room_handle = conn.RequestHandles(cs.HT_ROOM, ['chat at conf.localhost'])[0]
call_async(q, conn, 'RequestChannel', cs.CHANNEL_TYPE_TEXT, cs.HT_ROOM,
room_handle, True)
--
1.5.6.5
More information about the telepathy-commits
mailing list