diff options
Diffstat (limited to 'tests/twisted/channels/requests-create.py')
-rw-r--r-- | tests/twisted/channels/requests-create.py | 4 |
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]) |