[Telepathy-commits] [telepathy-gabble/master] tubes/test-si-tubes.py: exercise TargetID/Initiator* for tubes initiated by us
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:56 PDT 2008
20080722144411-53eee-6a39236dd02c02dd8e925340d70ff886ddf99aaa.gz
---
tests/twisted/tubes/test-si-tubes.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/tubes/test-si-tubes.py b/tests/twisted/tubes/test-si-tubes.py
index 3e8c388..ee9463d 100644
--- a/tests/twisted/tubes/test-si-tubes.py
+++ b/tests/twisted/tubes/test-si-tubes.py
@@ -111,6 +111,14 @@ def test(q, bus, conn, stream):
self_handle = conn.GetSelfHandle()
+ # Exercise FUTURE properties
+ future_props = tubes_chan.GetAll(
+ 'org.freedesktop.Telepathy.Channel.FUTURE',
+ dbus_interface='org.freedesktop.DBus.Properties')
+ assert future_props['TargetID'] == 'bob at localhost'
+ assert future_props['InitiatorID'] == 'test at localhost'
+ assert future_props['InitiatorHandle'] == self_handle
+
# Unix socket
path = os.getcwd() + '/stream'
call_async(q, tubes_iface, 'OfferStreamTube',
--
1.5.6.3
More information about the Telepathy-commits
mailing list