[Telepathy-commits] [telepathy-gabble/master] muc/test-muc-invitation.py: exercise future channel properties

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:47 PDT 2008


20080721191248-53eee-f693e059c74dd9a8e4415123192a1cd9ee562f0a.gz
---
 tests/twisted/muc/test-muc-invitation.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/muc/test-muc-invitation.py b/tests/twisted/muc/test-muc-invitation.py
index a1854e5..1ebd368 100644
--- a/tests/twisted/muc/test-muc-invitation.py
+++ b/tests/twisted/muc/test-muc-invitation.py
@@ -53,6 +53,14 @@ def test(q, bus, conn, stream):
     room_self_handle = group_iface.GetSelfHandle()
     assert room_self_handle == local_pending[0]
 
+    # Exercise FUTURE properties
+    future_props = text_chan.GetAll(
+            'org.freedesktop.Telepathy.Channel.FUTURE',
+            dbus_interface='org.freedesktop.DBus.Properties')
+    assert future_props['TargetID'] == 'chat at conf.localhost'
+    assert future_props['InitiatorID'] == 'bob at localhost'
+    assert future_props['InitiatorHandle'] == bob_handle
+
     # accept the invitation
     call_async(q, group_iface, 'AddMembers', [room_self_handle], 'Oh, OK then')
 
-- 
1.5.6.3




More information about the Telepathy-commits mailing list