[Telepathy-commits] [telepathy-gabble/master] Test the Requested property for MUCs

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


20080722163249-53eee-7e9c4b66966453b365c1bd572348dc064fdb38b9.gz
---
 tests/twisted/muc/test-muc-invitation.py |    1 +
 tests/twisted/muc/test-muc.py            |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/muc/test-muc-invitation.py b/tests/twisted/muc/test-muc-invitation.py
index 1ebd368..ff2de5c 100644
--- a/tests/twisted/muc/test-muc-invitation.py
+++ b/tests/twisted/muc/test-muc-invitation.py
@@ -57,6 +57,7 @@ def test(q, bus, conn, stream):
     future_props = text_chan.GetAll(
             'org.freedesktop.Telepathy.Channel.FUTURE',
             dbus_interface='org.freedesktop.DBus.Properties')
+    assert future_props['Requested'] == False
     assert future_props['TargetID'] == 'chat at conf.localhost'
     assert future_props['InitiatorID'] == 'bob at localhost'
     assert future_props['InitiatorHandle'] == bob_handle
diff --git a/tests/twisted/muc/test-muc.py b/tests/twisted/muc/test-muc.py
index 1ad665f..08b4a63 100644
--- a/tests/twisted/muc/test-muc.py
+++ b/tests/twisted/muc/test-muc.py
@@ -97,6 +97,7 @@ def test(q, bus, conn, stream):
     future_props = text_chan.GetAll(
             'org.freedesktop.Telepathy.Channel.FUTURE',
             dbus_interface='org.freedesktop.DBus.Properties')
+    assert future_props['Requested'] == True
     assert future_props['TargetID'] == 'chat at conf.localhost'
     assert future_props['InitiatorID'] == 'test at localhost'
     assert future_props['InitiatorHandle'] == conn.GetSelfHandle()
-- 
1.5.6.3




More information about the Telepathy-commits mailing list