[Telepathy-commits] [telepathy-gabble/master] offer-muc-stream-tube-ibb: check tube_chan.GetSelfHandle

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Feb 4 06:10:07 PST 2009


---
 tests/twisted/tubes/offer-muc-stream-tube-ibb.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/tubes/offer-muc-stream-tube-ibb.py b/tests/twisted/tubes/offer-muc-stream-tube-ibb.py
index 1ee6421..f2c56a9 100644
--- a/tests/twisted/tubes/offer-muc-stream-tube-ibb.py
+++ b/tests/twisted/tubes/offer-muc-stream-tube-ibb.py
@@ -380,6 +380,9 @@ def test(q, bus, conn, stream):
         EventPattern('dbus-return', method='OfferStreamTube'),
         EventPattern('dbus-signal', signal='TubeChannelStateChanged', args=[TUBE_CHANNEL_STATE_OPEN]))
 
+    tube_self_handle = tube_chan.GetSelfHandle(dbus_interface=CHANNEL_IFACE_GROUP)
+    assert conn.InspectHandles(HT_CONTACT, [tube_self_handle]) == ['chat2 at conf.localhost/test']
+
     # handle new_tube_event
     stream_tube_id = new_tube_event.args[0]
     assert new_tube_event.args[2] == 1       # Stream
-- 
1.5.6.5




More information about the telepathy-commits mailing list