From 3f0c7d732a38d709fa571f46b0a321efd31a6ab8 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 23 Sep 2013 13:59:53 +0100 Subject: Fix more uses of RequestHandles Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes --- tests/twisted/roster/subscribe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/twisted/roster/subscribe.py b/tests/twisted/roster/subscribe.py index 102ab71..b1b9aa5 100644 --- a/tests/twisted/roster/subscribe.py +++ b/tests/twisted/roster/subscribe.py @@ -33,7 +33,7 @@ def test(q, bus, conn, stream): assertLength(0, subscribe.Group.GetMembers()) # request subscription - handle = conn.RequestHandles(cs.HT_CONTACT, ['suggs@night.boat.cairo'])[0] + handle = conn.get_contact_handle_sync('suggs@night.boat.cairo') call_async(q, subscribe.Group, 'AddMembers', [handle], '') # libpurple puts him on our blist as soon as we've asked; there doesn't @@ -75,7 +75,7 @@ def test(q, bus, conn, stream): # put a contact into the *group* explicitly: this shouldn't ask for # subscription, but it does - handle = conn.RequestHandles(cs.HT_CONTACT, ['ayria@revenge.world'])[0] + handle = conn.get_contact_handle_sync('ayria@revenge.world') call_async(q, def_group.Group, 'AddMembers', [handle], '') # libpurple puts her on our blist as soon as we've asked; there doesn't -- cgit v1.2.1