diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-09-20 17:19:43 -0400 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-10-15 15:42:31 -0400 |
commit | 82162a775b73ec8fc6bac7ff2c3efa7592554916 (patch) | |
tree | e0a8852722e3976b8b99743bc227cc2889ceca03 /tests/twisted/avahi/close-local-pending-room.py | |
parent | 822ddd064c266345ab4fe19c4b574a4cd29d7159 (diff) | |
download | telepathy-salut-82162a775b73ec8fc6bac7ff2c3efa7592554916.tar.gz |
Port to telepathy-glib-1
Diffstat (limited to 'tests/twisted/avahi/close-local-pending-room.py')
-rw-r--r-- | tests/twisted/avahi/close-local-pending-room.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/twisted/avahi/close-local-pending-room.py b/tests/twisted/avahi/close-local-pending-room.py index 1e04fa37..5066fcfd 100644 --- a/tests/twisted/avahi/close-local-pending-room.py +++ b/tests/twisted/avahi/close-local-pending-room.py @@ -61,18 +61,18 @@ def test(q, bus, conn): xmpp_connection.send(message) # group channel is created - e = q.expect('dbus-signal', signal='NewChannel', + e = q.expect('dbus-signal', signal='NewChannels', predicate=lambda e: - e.args[1] == cs.CHANNEL_TYPE_TEXT and - e.args[2] == cs.HT_ROOM) - path = e.args[0] + e.args[0][0][1][cs.CHANNEL_TYPE] == cs.CHANNEL_TYPE_TEXT and + e.args[0][0][1][cs.TARGET_HANDLE_TYPE] == cs.HT_ROOM) + path = e.args[0][0][0] channel = make_channel_proxy(conn, path, 'Channel') props_iface = dbus.Interface(bus.get_object(conn.object.bus_name, path), dbus.PROPERTIES_IFACE) q.expect('dbus-signal', signal='MembersChanged', path=path) - lp_members = props_iface.Get('org.freedesktop.Telepathy.Channel.Interface.Group', + lp_members = props_iface.Get('im.telepathy1.Channel.Interface.Group1', 'LocalPendingMembers') assert len(lp_members) == 1 |