summaryrefslogtreecommitdiff
path: root/tests/twisted/presence/presence.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/twisted/presence/presence.py')
-rw-r--r--tests/twisted/presence/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/twisted/presence/presence.py b/tests/twisted/presence/presence.py
index e35616e..c91ddfd 100644
--- a/tests/twisted/presence/presence.py
+++ b/tests/twisted/presence/presence.py
@@ -12,7 +12,7 @@ from hazetest import exec_test
import constants as cs
def test(q, bus, conn, stream):
- amy_handle = conn.RequestHandles(1, ['amy@foo.com'])[0]
+ amy_handle = conn.get_contact_handle_sync('amy@foo.com')
# Divergence from Gabble: hazetest responds to all roster gets with an
# empty roster, so we need to push the roster.