[telepathy-gabble/master] Use the protocol parameter from the remote transports array
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Wed Dec 23 16:10:12 PST 2009
---
tests/twisted/jingle/jingletest2.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/twisted/jingle/jingletest2.py b/tests/twisted/jingle/jingletest2.py
index b0537fa..2faf73e 100644
--- a/tests/twisted/jingle/jingletest2.py
+++ b/tests/twisted/jingle/jingletest2.py
@@ -675,12 +675,11 @@ class JingleTest2:
(1 , host, port,
{ "Type": transtype,
"Foundation": str(dbus.UInt32(1 + i)),
- "Protocol": 0, #UDP
+ "Protocol": proto,
"Priority": i,
"Username": user,
"Password": pwd }
- )
- for i, (host, port, proto, subtype, profile,
+ ) for i, (host, port, proto, subtype, profile,
pref, transtype, user, pwd)
in enumerate(self.remote_transports) ],
signature='(usqa{sv})')
--
1.5.6.5
More information about the telepathy-commits
mailing list