[Telepathy-commits] [telepathy-salut/master] file_transfer_helper.py: store contact's service

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Dec 9 07:05:36 PST 2008


---
 tests/twisted/avahi/file_transfer_helper.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/avahi/file_transfer_helper.py b/tests/twisted/avahi/file_transfer_helper.py
index 679e901..fca6644 100644
--- a/tests/twisted/avahi/file_transfer_helper.py
+++ b/tests/twisted/avahi/file_transfer_helper.py
@@ -97,7 +97,8 @@ class FileTransferTest(object):
         self.contact_name = '%s@%s' % (name, get_host_name())
         self.listener, port = setup_stream_listener(self.q, self.contact_name)
 
-        AvahiAnnouncer(self.contact_name, "_presence._tcp", port, basic_txt)
+        self.contact_service = AvahiAnnouncer(self.contact_name, "_presence._tcp",
+                port, basic_txt)
 
     def wait_for_contact(self, name=CONTACT_NAME):
         publish_handle = self.conn.RequestHandles(HT_CONTACT_LIST, ["publish"])[0]
-- 
1.5.6.5




More information about the Telepathy-commits mailing list