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

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


20080722163301-53eee-cd53326cbefee17a77bbec11ed1481315f17e6e1.gz
---
 tests/twisted/roster/groups.py      |    1 +
 tests/twisted/roster/test-roster.py |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/roster/groups.py b/tests/twisted/roster/groups.py
index 47c4653..16d85ee 100644
--- a/tests/twisted/roster/groups.py
+++ b/tests/twisted/roster/groups.py
@@ -40,6 +40,7 @@ def _expect_group_channel(q, bus, conn, name, contacts):
     future_props = chan.GetAll(
             'org.freedesktop.Telepathy.Channel.FUTURE',
             dbus_interface='org.freedesktop.DBus.Properties')
+    assert future_props['Requested'] == False
     assert future_props['TargetID'] == name
     assert future_props['InitiatorID'] == ''
     assert future_props['InitiatorHandle'] == 0
diff --git a/tests/twisted/roster/test-roster.py b/tests/twisted/roster/test-roster.py
index bfb67cd..020ea43 100644
--- a/tests/twisted/roster/test-roster.py
+++ b/tests/twisted/roster/test-roster.py
@@ -38,6 +38,7 @@ def _expect_contact_list_channel(q, bus, conn, name, contacts):
     future_props = chan.GetAll(
             'org.freedesktop.Telepathy.Channel.FUTURE',
             dbus_interface='org.freedesktop.DBus.Properties')
+    assert future_props['Requested'] == False
     assert future_props['TargetID'] == name
     assert future_props['InitiatorID'] == ''
     assert future_props['InitiatorHandle'] == 0
-- 
1.5.6.3




More information about the Telepathy-commits mailing list