[telepathy-gabble/master] test-outgoing-iceudp: Remove peer's gtalk-p2p cap

Will Thompson will.thompson at collabora.co.uk
Mon Jun 29 04:17:09 PDT 2009


Since Gabble now prefers gtalk-p2p over iceudp, we need to make the peer
incapable of the former to convince Gabble to use the latter.
---
 tests/twisted/jingle/test-outgoing-iceudp.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/jingle/test-outgoing-iceudp.py b/tests/twisted/jingle/test-outgoing-iceudp.py
index 56536b5..ff145dd 100644
--- a/tests/twisted/jingle/test-outgoing-iceudp.py
+++ b/tests/twisted/jingle/test-outgoing-iceudp.py
@@ -16,6 +16,7 @@ import constants as cs
 from jingletest2 import *
 
 def worker(jp, q, bus, conn, stream):
+    jp.features.remove(ns.GOOGLE_P2P)
     jp.features.append(ns.JINGLE_TRANSPORT_ICEUDP)
     jt2 = JingleTest2(jp, conn, q, stream, 'test at localhost', 'foo at bar.com/Foo')
     jt2.prepare()
-- 
1.5.6.5




More information about the telepathy-commits mailing list