[Telepathy-commits] [telepathy-gabble/master] test-si-fallback.py: no need to use call_async if we wait directly for the return value
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Jan 6 08:41:37 PST 2009
---
tests/twisted/tubes/test-si-fallback.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/tests/twisted/tubes/test-si-fallback.py b/tests/twisted/tubes/test-si-fallback.py
index 5f45500..e7cf7f8 100644
--- a/tests/twisted/tubes/test-si-fallback.py
+++ b/tests/twisted/tubes/test-si-fallback.py
@@ -270,10 +270,7 @@ def test(q, bus, conn, stream):
tube_iface = dbus.Interface(tube_chan,
tp_name_prefix + '.Channel.Type.StreamTube.DRAFT')
- call_async(q, tube_iface, 'AcceptStreamTube', 0, 0, '')
-
- event = q.expect('dbus-return', method='AcceptStreamTube')
- path2 = event.value[0]
+ path2 = tube_iface.AcceptStreamTube(0, 0, '')
path2 = ''.join([chr(c) for c in path2])
factory = EventProtocolClientFactory(q)
--
1.5.6.5
More information about the Telepathy-commits
mailing list