[Telepathy-commits] [telepathy-gabble/master] accept-private-stream-tube: call sync_dbus to ensure that contact list channels have been announced
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Mar 2 04:57:39 PST 2009
---
tests/twisted/tubes/accept-private-stream-tube.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/tubes/accept-private-stream-tube.py b/tests/twisted/tubes/accept-private-stream-tube.py
index 4c76858..70c5134 100644
--- a/tests/twisted/tubes/accept-private-stream-tube.py
+++ b/tests/twisted/tubes/accept-private-stream-tube.py
@@ -10,7 +10,7 @@ Receives several tube offers:
import dbus
-from servicetest import call_async, EventPattern, EventProtocolClientFactory
+from servicetest import call_async, EventPattern, EventProtocolClientFactory, sync_dbus
from gabbletest import acknowledge_iq
from twisted.words.xish import domish, xpath
@@ -148,6 +148,8 @@ def test(q, bus, conn, stream, bytestream_cls):
feature['var'] = ns.TUBES
stream.send(result)
+ sync_dbus(bus, q, conn)
+
# Receive a tube offer from Bob
(tubes_chan, tubes_iface, new_tube_chan, new_tube_iface) = \
receive_tube_offer(q, bus, conn, stream)
--
1.5.6.5
More information about the telepathy-commits
mailing list