[Telepathy-commits] [telepathy-salut/master] test-ichat-send-file-declined.py: use IncomingXmppiChatStream

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Nov 28 04:35:40 PST 2008


---
 .../twisted/avahi/test-ichat-send-file-declined.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/avahi/test-ichat-send-file-declined.py b/tests/twisted/avahi/test-ichat-send-file-declined.py
index 1247fe3..cb4f280 100644
--- a/tests/twisted/avahi/test-ichat-send-file-declined.py
+++ b/tests/twisted/avahi/test-ichat-send-file-declined.py
@@ -8,7 +8,7 @@ from saluttest import exec_test
 from avahitest import AvahiAnnouncer
 from avahitest import get_host_name
 
-from xmppstream import setup_stream_listener
+from xmppstream import setup_stream_listener, IncomingXmppiChatStream
 from servicetest import make_channel_proxy, EventPattern
 
 from twisted.words.xish import domish, xpath
@@ -64,7 +64,7 @@ def test(q, bus, conn):
     self_handle_name =  conn.InspectHandles(HT_CONTACT, [self_handle])[0]
 
     contact_name = "test-file-receiver@" + get_host_name()
-    listener, port = setup_stream_listener(q, contact_name)
+    listener, port = setup_stream_listener(q, contact_name, protocol=IncomingXmppiChatStream)
 
     AvahiAnnouncer(contact_name, "_presence._tcp", port, basic_txt)
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list