[Telepathy-commits] [telepathy-salut/master] Remove confusing PUBLISHED_NAME constant

Sjoerd Simons sjoerd.simons at collabora.co.uk
Tue Sep 9 09:11:55 PDT 2008


---
 tests/twisted/avahi/test-text-channel.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/tests/twisted/avahi/test-text-channel.py b/tests/twisted/avahi/test-text-channel.py
index 59cfaf5..d9630ae 100644
--- a/tests/twisted/avahi/test-text-channel.py
+++ b/tests/twisted/avahi/test-text-channel.py
@@ -12,8 +12,6 @@ from twisted.words.xish import xpath, domish
 import time
 import dbus
 
-PUBLISHED_NAME="test-text-channel"
-
 CHANNEL_TYPE_TEXT = "org.freedesktop.Telepathy.Channel.Type.Text"
 HT_CONTACT = 1
 HT_CONTACT_LIST = 3
@@ -27,7 +25,7 @@ def test(q, bus, conn):
     q.expect('dbus-signal', signal='StatusChanged', args=[0L, 0L])
     basic_txt = { "txtvers": "1", "status": "avail" }
 
-    contact_name = PUBLISHED_NAME + get_host_name()
+    contact_name = "test-text-channel@" + get_host_name()
     listener, port = setup_stream_listener(q, contact_name)
 
     announcer = AvahiAnnouncer(contact_name, "_presence._tcp", port, basic_txt)
-- 
1.5.6.3




More information about the Telepathy-commits mailing list