summaryrefslogtreecommitdiff
path: root/tests/twisted/cm/protocol.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2013-09-20 17:19:43 -0400
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-15 15:42:31 -0400
commit82162a775b73ec8fc6bac7ff2c3efa7592554916 (patch)
treee0a8852722e3976b8b99743bc227cc2889ceca03 /tests/twisted/cm/protocol.py
parent822ddd064c266345ab4fe19c4b574a4cd29d7159 (diff)
downloadtelepathy-salut-82162a775b73ec8fc6bac7ff2c3efa7592554916.tar.gz
Port to telepathy-glib-1
Diffstat (limited to 'tests/twisted/cm/protocol.py')
-rw-r--r--tests/twisted/cm/protocol.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/twisted/cm/protocol.py b/tests/twisted/cm/protocol.py
index 6f62f1ec..157c6b6f 100644
--- a/tests/twisted/cm/protocol.py
+++ b/tests/twisted/cm/protocol.py
@@ -16,9 +16,9 @@ def test(q, bus, conn):
cm_prop_iface = dbus.Interface(cm, cs.PROPERTIES_IFACE)
protocols = unwrap(cm_prop_iface.Get(cs.CM, 'Protocols'))
- assertEquals(set(['local-xmpp']), set(protocols.keys()))
+ assertEquals(set(['local_xmpp']), set(protocols.keys()))
- local_props = protocols['local-xmpp']
+ local_props = protocols['local_xmpp']
local_params = local_props[cs.PROTOCOL + '.Parameters']
proto = bus.get_object(cm.bus_name, cm.object_path + '/local_xmpp')
@@ -39,7 +39,7 @@ def test(q, bus, conn):
assertContains(cs.CONN_IFACE_ALIASING, proto_props['ConnectionInterfaces'])
assertContains(cs.CONN_IFACE_AVATARS, proto_props['ConnectionInterfaces'])
assertContains(cs.CONN_IFACE_CONTACTS, proto_props['ConnectionInterfaces'])
- assertContains(cs.CONN_IFACE_SIMPLE_PRESENCE,
+ assertContains(cs.CONN_IFACE_PRESENCE,
proto_props['ConnectionInterfaces'])
assertContains(cs.CONN_IFACE_REQUESTS, proto_props['ConnectionInterfaces'])