diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-09-23 12:35:54 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-09-23 13:01:39 +0200 |
commit | 0a3f85fad87ccbec4d21af1b3b15491449554ea8 (patch) | |
tree | c0f5f1ac101cdb77684da239a63d8475c15638c3 /tests/twisted/channels/requests-create.py | |
parent | 01e2731c36bb09afabd4c0b9af0e3ca389c9f5ee (diff) | |
download | telepathy-idle-0a3f85fad87ccbec4d21af1b3b15491449554ea8.tar.gz |
stop using RequestHandles()
It will be deprecated in Telepathy 1.0
Diffstat (limited to 'tests/twisted/channels/requests-create.py')
-rw-r--r-- | tests/twisted/channels/requests-create.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/twisted/channels/requests-create.py b/tests/twisted/channels/requests-create.py index 66cf480..957560e 100644 --- a/tests/twisted/channels/requests-create.py +++ b/tests/twisted/channels/requests-create.py @@ -20,9 +20,7 @@ def test(q, bus, conn, stream): assertContains(cs.CONN_IFACE_REQUESTS, props['Interfaces']) nick = 'foo' - call_async(q, conn, 'RequestHandles', cs.HT_CONTACT, [nick]) - event = q.expect('dbus-return', method='RequestHandles') - foo_handle = event.value[0][0] + foo_handle = conn.get_contact_handle_sync(nick) properties = conn.GetAll(cs.CONN_IFACE_REQUESTS, dbus_interface=cs.PROPERTIES_IFACE) |