[telepathy-gabble/master] Use the constant CALL_STREAM_TRANSPORT_GOOGLE instead of its value.

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


Didn't see that constant the first time through. Oops :)
---
 tests/twisted/jingle/stun-server.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/jingle/stun-server.py b/tests/twisted/jingle/stun-server.py
index 2ef3d79..5789c8e 100644
--- a/tests/twisted/jingle/stun-server.py
+++ b/tests/twisted/jingle/stun-server.py
@@ -247,7 +247,7 @@ def test_call(q, bus, conn, stream,
         content_props[0], 'Call.Stream.Interface.Media.Draft')
     stream_props = call_stream.GetAll(cs.CALL_STREAM_IFACE_MEDIA,
         dbus_interface=dbus.PROPERTIES_IFACE)
-    assertEquals(stream_props['Transport'], 2) # GTALK_P2P
+    assertEquals(stream_props['Transport'], cs.CALL_STREAM_TRANSPORT_GOOGLE)
 
     test_stun_server(stream_props['STUNServers'],
             expected_stun_server, expected_stun_port)
-- 
1.5.6.5




More information about the telepathy-commits mailing list