[Telepathy-commits] [telepathy-salut/master] test-roomlist.py: Fix: do not use conference server on Salut

Alban Crequy alban.crequy at collabora.co.uk
Wed Nov 12 11:42:39 PST 2008


---
 tests/twisted/avahi/test-roomlist.py |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/tests/twisted/avahi/test-roomlist.py b/tests/twisted/avahi/test-roomlist.py
index a140c72..c875205 100644
--- a/tests/twisted/avahi/test-roomlist.py
+++ b/tests/twisted/avahi/test-roomlist.py
@@ -93,8 +93,7 @@ def test(q, bus, conn):
             { tp_name_prefix + '.Channel.ChannelType':
                 tp_name_prefix + '.Channel.Type.RoomList',
               tp_name_prefix + '.Channel.TargetHandleType': 0,
-              tp_name_prefix + '.Channel.Type.RoomList.Server':
-                'conference.example.net',
+              tp_name_prefix + '.Channel.Type.RoomList.Server': '',
               })
 
     ret, old_sig, new_sig = q.expect_many(
@@ -116,8 +115,7 @@ def test(q, bus, conn):
             == conn.GetSelfHandle()
     assert props[tp_name_prefix + '.Channel.InitiatorID'] \
             == self_name
-    assert props[tp_name_prefix + '.Channel.Type.RoomList.Server'] == \
-            'conference.example.net'
+    assert props[tp_name_prefix + '.Channel.Type.RoomList.Server'] == ''
 
     assert new_sig.args[0][0][0] == path2
     assert new_sig.args[0][0][1] == props
@@ -130,8 +128,7 @@ def test(q, bus, conn):
 
     assert chan.Get(
             tp_name_prefix + '.Channel.Type.RoomList', 'Server',
-            dbus_interface='org.freedesktop.DBus.Properties') == \
-                    'conference.example.net'
+            dbus_interface='org.freedesktop.DBus.Properties') == ''
 
     # FIXME: actually list the rooms!
 
@@ -140,8 +137,7 @@ def test(q, bus, conn):
             { tp_name_prefix + '.Channel.ChannelType':
                 tp_name_prefix + '.Channel.Type.RoomList',
               tp_name_prefix + '.Channel.TargetHandleType': 0,
-              tp_name_prefix + '.Channel.Type.RoomList.Server':
-                'conference.example.net',
+              tp_name_prefix + '.Channel.Type.RoomList.Server': '',
               })
 
     ret = q.expect('dbus-return', method='EnsureChannel')
-- 
1.5.6.5




More information about the Telepathy-commits mailing list