diff options
Diffstat (limited to 'tests/twisted/text/initiate-requestotron.py')
-rw-r--r-- | tests/twisted/text/initiate-requestotron.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/twisted/text/initiate-requestotron.py b/tests/twisted/text/initiate-requestotron.py index 9e52c34..c543b69 100644 --- a/tests/twisted/text/initiate-requestotron.py +++ b/tests/twisted/text/initiate-requestotron.py @@ -15,10 +15,7 @@ def test(q, bus, conn, stream): self_handle = conn.Properties.Get(cs.CONN, "SelfHandle") jid = 'foo@bar.com' - call_async(q, conn, 'RequestHandles', 1, [jid]) - - event = q.expect('dbus-return', method='RequestHandles') - foo_handle = event.value[0][0] + foo_handle = conn.get_contact_handle_sync(jid) properties = conn.GetAll( 'org.freedesktop.Telepathy.Connection.Interface.Requests', |