[telepathy-gabble/master] Test adding a video stream
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Tue Dec 29 05:35:20 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 1d387ca..c1db1db 100644
--- a/tests/twisted/jingle/call-basics.py
+++ b/tests/twisted/jingle/call-basics.py
@@ -239,6 +239,13 @@ def run_test(jp, q, bus, conn, stream, incoming):
check_state (q, chan, cs.CALL_STATE_ACCEPTED)
+ try:
+ path = chan.AddContent ("Video", cs.CALL_MEDIA_TYPE_AUDIO,
+ dbus_interface=cs.CHANNEL_TYPE_CALL)
+ except Exception, e:
+ assert not jp.can_do_video()
+ assertEquals (cs.NOT_AVAILABLE, e.get_dbus_name ())
+
if incoming:
jt2.terminate()
else:
--
1.5.6.5
More information about the telepathy-commits
mailing list