[telepathy-gabble/master] Check sender states after stream acceptance

Sjoerd Simons sjoerd.simons at collabora.co.uk
Tue Dec 29 05:35:21 PST 2009


---
 tests/twisted/jingle/call-basics.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/jingle/call-basics.py b/tests/twisted/jingle/call-basics.py
index eb7fc03..b643848 100644
--- a/tests/twisted/jingle/call-basics.py
+++ b/tests/twisted/jingle/call-basics.py
@@ -268,6 +268,13 @@ def run_test(jp, q, bus, conn, stream, incoming):
 
     check_state (q, chan, cs.CALL_STATE_ACCEPTED)
 
+    # All Direction should be both now
+    stream_props = cstream.GetAll (cs.CALL_STREAM,
+        dbus_interface = dbus.PROPERTIES_IFACE)
+    assertEquals ({ self_handle : cs.CALL_SENDING_STATE_SENDING,
+                    remote_handle: cs.CALL_SENDING_STATE_SENDING },
+                  stream_props["Senders"])
+
     try:
         path = chan.AddContent ("Webcam", cs.CALL_MEDIA_TYPE_AUDIO,
             dbus_interface=cs.CHANNEL_TYPE_CALL)
-- 
1.5.6.5




More information about the telepathy-commits mailing list