[telepathy-gabble/master] jingle/payload-types.py: just wait for the Connected StatusChanged

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Aug 10 02:33:04 PDT 2009


We don't care about the other events. Furtermore they were racy as their
ordering weren't garantee.
---
 tests/twisted/jingle/payload-types.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/tests/twisted/jingle/payload-types.py b/tests/twisted/jingle/payload-types.py
index 0145d50..8a2915a 100644
--- a/tests/twisted/jingle/payload-types.py
+++ b/tests/twisted/jingle/payload-types.py
@@ -18,12 +18,6 @@ def test(q, bus, conn, stream):
     conn.Connect()
 
     q.expect('dbus-signal', signal='StatusChanged',
-            args=[cs.CONN_STATUS_CONNECTING, cs.CSR_REQUESTED])
-
-    q.expect('stream-authenticated')
-    q.expect('dbus-signal', signal='PresenceUpdate',
-        args=[{1L: (0L, {u'available': {}})}])
-    q.expect('dbus-signal', signal='StatusChanged',
             args=[cs.CONN_STATUS_CONNECTED, cs.CSR_REQUESTED])
 
     self_handle = conn.GetSelfHandle()
-- 
1.5.6.5




More information about the telepathy-commits mailing list