[telepathy-gabble/master] Add a test for the ServerInfoRetrieved signal.

Mike Ruprecht mike.ruprecht at collabora.co.uk
Tue Dec 29 05:35:04 PST 2009


---
 tests/twisted/jingle/stun-server.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/jingle/stun-server.py b/tests/twisted/jingle/stun-server.py
index 15506d2..5873ae3 100644
--- a/tests/twisted/jingle/stun-server.py
+++ b/tests/twisted/jingle/stun-server.py
@@ -211,6 +211,10 @@ def test_call(q, bus, conn, stream,
     # Remote end calls us
     jt.incoming_call()
 
+    e = q.expect('dbus-signal', signal='ServerInfoRetrieved')
+    assertLength(0, e.args)
+    assertEquals(e.interface, cs.CALL_STREAM_IFACE_MEDIA)
+
     e = q.expect('dbus-signal', signal='NewChannels')
     assert e.args[0][0][0]
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list