[Telepathy-commits] [telepathy-gabble/master] jingle/stun-server.py: Check that when fallback-stun-server is given, the STUN server from Google takes precedence
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Feb 25 10:30:48 PST 2009
---
tests/twisted/jingle/stun-server.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/jingle/stun-server.py b/tests/twisted/jingle/stun-server.py
index 4aa91bc..f6d71dc 100644
--- a/tests/twisted/jingle/stun-server.py
+++ b/tests/twisted/jingle/stun-server.py
@@ -167,3 +167,8 @@ if __name__ == '__main__':
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)})
+ 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,
+ params={'fallback-stun-server': '5.4.3.2',
+ 'fallback-stun-port': dbus.UInt16(54321)})
--
1.5.6.5
More information about the telepathy-commits
mailing list