[Telepathy-commits] [telepathy-gabble/master] jingle/stun-server.py: assert that the stream has NATTraversal and CreatedLocally properties

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Feb 26 04:56:34 PST 2009


---
 tests/twisted/jingle/stun-server.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/jingle/stun-server.py b/tests/twisted/jingle/stun-server.py
index e362488..cfd46c9 100644
--- a/tests/twisted/jingle/stun-server.py
+++ b/tests/twisted/jingle/stun-server.py
@@ -97,6 +97,9 @@ def test(q, bus, conn, stream,
             'org.freedesktop.Telepathy.Media.StreamHandler',
             dbus_interface=dbus.PROPERTIES_IFACE)
 
+    assert sh_props['NATTraversal'] == 'gtalk-p2p'
+    assert sh_props['CreatedLocally'] == False
+
     if expected_stun_server is None:
         assert sh_props['STUNServers'] == [], sh_props['STUNServers']
     else:
-- 
1.5.6.5




More information about the telepathy-commits mailing list