[Telepathy-commits] [telepathy-gabble/master] jingle/stun-server.py: assert that the fallback STUN server is used if there is no override and no Google STUN server

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Feb 25 11:54:44 PST 2009


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

diff --git a/tests/twisted/jingle/stun-server.py b/tests/twisted/jingle/stun-server.py
index f26c962..b3e2f6d 100644
--- a/tests/twisted/jingle/stun-server.py
+++ b/tests/twisted/jingle/stun-server.py
@@ -173,3 +173,7 @@ if __name__ == '__main__':
         protocol=GoogleXmlStream,
         params={'fallback-stun-server': 'resolves-to-5.4.3.2',
             'fallback-stun-port': dbus.UInt16(54321)})
+    exec_test(lambda q, b, c, s: test(q, b, c, s,
+        google=False, expected_stun_server='5.4.3.2', expected_stun_port=54321),
+        params={'fallback-stun-server': 'resolves-to-5.4.3.2',
+            'fallback-stun-port': dbus.UInt16(54321)})
-- 
1.5.6.5




More information about the telepathy-commits mailing list