[Telepathy-commits] [telepathy-gabble/master] Test the stun-server and stun-port CM parameter, which act as an override

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Feb 25 09:27:20 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 76f5b62..4aa91bc 100644
--- a/tests/twisted/jingle/stun-server.py
+++ b/tests/twisted/jingle/stun-server.py
@@ -163,3 +163,7 @@ if __name__ == '__main__':
     exec_test(lambda q, b, c, s: test(q, b, c, s,
         google=True, expected_stun_server='1.2.3.4', expected_stun_port=12345),
         protocol=GoogleXmlStream)
+    exec_test(lambda q, b, c, s: test(q, b, c, s,
+        google=True, expected_stun_server='5.4.3.2', expected_stun_port=54321),
+        protocol=GoogleXmlStream,
+        params={'stun-server': '5.4.3.2', 'stun-port': dbus.UInt16(54321)})
-- 
1.5.6.5




More information about the telepathy-commits mailing list