summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-20 13:58:42 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-23 13:01:39 +0200
commit017669901bbe009a4c55892a8d0fb4a100740de4 (patch)
treed7131fddc0ea9022d9f28e8bbcef446bb55ecfe2
parent5bcc7ad038b9df160f2a2c402e78455fc9015847 (diff)
stop using GetInterfaces()
Will be removed in Telepathy 1.0
-rw-r--r--tests/twisted/channels/requests-create.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/twisted/channels/requests-create.py b/tests/twisted/channels/requests-create.py
index e3adb64..e60e86b 100644
--- a/tests/twisted/channels/requests-create.py
+++ b/tests/twisted/channels/requests-create.py
@@ -15,9 +15,9 @@ def test(q, bus, conn, stream):
conn.Connect()
q.expect('dbus-signal', signal='StatusChanged', args=[0,1])
- ifs = conn.GetInterfaces()
+ props = conn.GetAll(cs.CONN, dbus_interface=cs.PROPERTIES_IFACE)
- assert cs.CONN_IFACE_REQUESTS in ifs
+ assertContains(cs.CONN_IFACE_REQUESTS, props['Interfaces'])
nick = 'foo'
call_async(q, conn, 'RequestHandles', cs.HT_CONTACT, [nick])