[Telepathy-commits] [telepathy-gabble/master] test-incoming-call.py: check if the caller is properly moved to members

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Aug 19 10:52:20 PDT 2008


20080512104359-7fe3f-42d9a6955de5ad23af830ce0785fab1d01f85c53.gz
---
 tests/twisted/jingle/test-incoming-call.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/jingle/test-incoming-call.py b/tests/twisted/jingle/test-incoming-call.py
index 16ea6d6..dafff8b 100644
--- a/tests/twisted/jingle/test-incoming-call.py
+++ b/tests/twisted/jingle/test-incoming-call.py
@@ -46,6 +46,10 @@ def test(q, bus, conn, stream):
     # Remote end calls us
     jt.incoming_call()
 
+    # The caller is in members
+    e = q.expect('dbus-signal', signal='MembersChanged',
+             args=[u'', [remote_handle], [], [], [], 0, 0])
+
     # S-E gets notified about new session handler, and calls Ready on it
     e = q.expect('dbus-signal', signal='NewSessionHandler')
     assert e.args[1] == 'rtp'
@@ -72,6 +76,10 @@ def test(q, bus, conn, stream):
     # Remote end calls us
     jt.incoming_call()
 
+    # The caller is in members
+    e = q.expect('dbus-signal', signal='MembersChanged',
+             args=[u'', [remote_handle], [], [], [], 0, 0])
+
     # S-E gets notified about new session handler, and calls Ready on it
     e = q.expect('dbus-signal', signal='NewSessionHandler')
     assert e.args[1] == 'rtp'
-- 
1.5.6.3




More information about the Telepathy-commits mailing list