[telepathy-gabble/master] Unrace test-outgoing-call.py

Will Thompson will.thompson at collabora.co.uk
Wed Apr 15 12:27:02 PDT 2009


---
 tests/twisted/jingle/test-outgoing-call.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/tests/twisted/jingle/test-outgoing-call.py b/tests/twisted/jingle/test-outgoing-call.py
index 9951c77..03c9a7b 100644
--- a/tests/twisted/jingle/test-outgoing-call.py
+++ b/tests/twisted/jingle/test-outgoing-call.py
@@ -152,11 +152,12 @@ def test(q, bus, conn, stream):
 
     jt.outgoing_call_reply(e.query['sid'], True)
 
-    q.expect('stream-iq', iq_type='result')
-
+    q.expect_many(
+        EventPattern('stream-iq', iq_type='result'),
     # Call accepted
-    q.expect('dbus-signal', signal='MembersChanged',
-        args=['', [handle], [], [], [], handle, cs.GC_REASON_NONE])
+        EventPattern('dbus-signal', signal='MembersChanged',
+            args=['', [handle], [], [], [], handle, cs.GC_REASON_NONE]),
+        )
 
     # Time passes ... afterwards we close the chan
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list