[Telepathy-commits] [telepathy-gabble/master] Make sure we catch the right NewChannel(s) signals

Will Thompson will.thompson at collabora.co.uk
Wed Feb 18 10:32:10 PST 2009


---
 ...offer-accept-private-dbus-stream-tube-socks5.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py b/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py
index e438b4c..0d27058 100644
--- a/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py
+++ b/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py
@@ -109,6 +109,10 @@ def test(q, bus, conn, stream):
     # A tube request can be done only if the contact has tube capabilities
     # Ensure that Bob's caps have been received
     sync_stream(q, stream)
+    # Also ensure that all the new contact list channels have been announced,
+    # so that the NewChannel(s) signals we look for after calling
+    # RequestChannel are the ones we wanted.
+    sync_dbus(bus, q, conn)
 
     requestotron = dbus.Interface(conn, cs.CONN_IFACE_REQUESTS)
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list