summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-20 15:07:41 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-23 13:01:39 +0200
commit01e2731c36bb09afabd4c0b9af0e3ca389c9f5ee (patch)
tree06f47cddb60282ad2a3ab3472932fc85f6ddb2a0
parent98e25472a0fe9552a43f1c28fd14126b44c39473 (diff)
room-list-channels: use CHANNEL_TYPE_ROOM_LIST
-rw-r--r--tests/twisted/channels/room-list-channel.py2
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]))