telepathy-idle: stop using InspectHandles()

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Mon Sep 23 04:53:09 PDT 2013


Module: telepathy-idle
Branch: master
Commit: 98e25472a0fe9552a43f1c28fd14126b44c39473
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=98e25472a0fe9552a43f1c28fd14126b44c39473

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Fri Sep 20 15:05:55 2013 +0200

stop using InspectHandles()

Will be removed in Telepathy 1.0

---

 tests/twisted/channels/requests-muc.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/channels/requests-muc.py b/tests/twisted/channels/requests-muc.py
index 299d5c7..7286ab1 100644
--- a/tests/twisted/channels/requests-muc.py
+++ b/tests/twisted/channels/requests-muc.py
@@ -98,7 +98,7 @@ def test(q, bus, conn, stream, use_room=False):
     assert props[cs.REQUESTED]
     assert props[cs.INITIATOR_HANDLE] == self_handle
     assert props[cs.INITIATOR_ID] == \
-        conn.InspectHandles(cs.HT_CONTACT, [self_handle])[0]
+            conn.inspect_contacts_sync([self_handle])[0]
 
     ec_yours, ec_path, ec_props = ec.value
     assert not ec_yours



More information about the telepathy-commits mailing list