telepathy-idle: room-list-channels: use CHANNEL_TYPE_ROOM_LIST

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Mon Sep 23 04:53:09 PDT 2013


Module: telepathy-idle
Branch: master
Commit: 01e2731c36bb09afabd4c0b9af0e3ca389c9f5ee
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=01e2731c36bb09afabd4c0b9af0e3ca389c9f5ee

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Fri Sep 20 15:07:41 2013 +0200

room-list-channels: use CHANNEL_TYPE_ROOM_LIST

---

 tests/twisted/channels/room-list-channel.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/channels/room-list-channel.py b/tests/twisted/channels/room-list-channel.py
index 6200904..a62d59f 100644
--- a/tests/twisted/channels/room-list-channel.py
+++ b/tests/twisted/channels/room-list-channel.py
@@ -65,7 +65,7 @@ def test(q, bus, conn, stream):
         predicate=looks_like_a_room_list)
 
     chan = bus.get_object(conn.bus_name, path)
-    list_chan = dbus.Interface(chan, tp_name_prefix + u'.Channel.Type.RoomList')
+    list_chan = dbus.Interface(chan, cs.CHANNEL_TYPE_ROOM_LIST)
     list_chan.ListRooms();
     q.expect('dbus-signal', signal='GotRooms', predicate=lambda x:check_rooms(x.args[0]))
 



More information about the telepathy-commits mailing list