[telepathy-gabble/master] Modify get_call_remote_transports_dbus to reflect what Gabble actually returns.

Mike Ruprecht mike.ruprecht at collabora.co.uk
Tue Dec 29 05:35:30 PST 2009


At least for Google P2P transports.
---
 tests/twisted/jingle/jingletest2.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/jingle/jingletest2.py b/tests/twisted/jingle/jingletest2.py
index b688236..81ada67 100644
--- a/tests/twisted/jingle/jingletest2.py
+++ b/tests/twisted/jingle/jingletest2.py
@@ -714,9 +714,9 @@ class JingleTest2:
         return dbus.Array([
             (1 , host, port,
                 { "Type": transtype,
-                  "Foundation": str(dbus.UInt32(1 + i)),
+                  "Foundation": "",
                   "Protocol": proto,
-                  "Priority": i,
+                  "Priority": int((1+i) * 65536),
                   "Username": user,
                   "Password": pwd }
              ) for i, (host, port, proto, subtype, profile,
-- 
1.5.6.5




More information about the telepathy-commits mailing list