[telepathy-gabble/master] Add a test for GabbleCallStreamEndpoint's Transport property.

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


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

diff --git a/tests/twisted/jingle/call-basics.py b/tests/twisted/jingle/call-basics.py
index 74a61c3..0ef9dd0 100644
--- a/tests/twisted/jingle/call-basics.py
+++ b/tests/twisted/jingle/call-basics.py
@@ -155,6 +155,11 @@ def run_test(jp, q, bus, conn, stream, incoming):
     assertEquals (cs.CALL_STREAM_TRANSPORT_GOOGLE, transport)
 
     endpoint = bus.get_object (conn.bus_name, endpoints[0])
+
+    transport = endpoint.Get(cs.CALL_STREAM_ENDPOINT,
+                "Transport", dbus_interface=dbus.PROPERTIES_IFACE)
+    assertEquals (cs.CALL_STREAM_TRANSPORT_GOOGLE, transport)
+
     candidates = endpoint.Get (cs.CALL_STREAM_ENDPOINT,
         "RemoteCandidates",  dbus_interface=dbus.PROPERTIES_IFACE)
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list