[telepathy-gabble/master] Test that a stream has an endpoint
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Tue Dec 29 05:34:44 PST 2009
---
tests/twisted/jingle/call-outgoing-basics.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/jingle/call-outgoing-basics.py b/tests/twisted/jingle/call-outgoing-basics.py
index 1b71203..f4ddc10 100644
--- a/tests/twisted/jingle/call-outgoing-basics.py
+++ b/tests/twisted/jingle/call-outgoing-basics.py
@@ -87,9 +87,12 @@ def run_test(jp, q, bus, conn, stream):
local_candidates = stream.Get(cs.CALL_STREAM_IFACE_MEDIA,
"LocalCandidates", dbus_interface=dbus.PROPERTIES_IFACE)
-
assertEquals (candidates, local_candidates)
+ endpoints = stream.Get(cs.CALL_STREAM_IFACE_MEDIA,
+ "Endpoints", dbus_interface=dbus.PROPERTIES_IFACE)
+ assertEquals (1, len (endpoints))
+
session_initiate = q.expect('stream-iq',
predicate=jp.action_predicate('session-initiate'))
--
1.5.6.5
More information about the telepathy-commits
mailing list