[Telepathy-commits] [telepathy-gabble/master] Test the Requested property for IM channels
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:56 PDT 2008
20080722163309-53eee-fe716ed31df1fa13fc7778c0ea0500468ef9e088.gz
---
tests/twisted/text/initiate.py | 1 +
tests/twisted/text/test-text.py | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/text/initiate.py b/tests/twisted/text/initiate.py
index 926dbb9..9cac183 100644
--- a/tests/twisted/text/initiate.py
+++ b/tests/twisted/text/initiate.py
@@ -59,6 +59,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'] == jid,\
(future_props['TargetID'], jid)
assert future_props['InitiatorHandle'] == self_handle,\
diff --git a/tests/twisted/text/test-text.py b/tests/twisted/text/test-text.py
index 599167a..17da0d7 100644
--- a/tests/twisted/text/test-text.py
+++ b/tests/twisted/text/test-text.py
@@ -50,6 +50,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'] == jid,\
(future_props['TargetID'], jid)
assert future_props['InitiatorHandle'] == event.args[3],\
--
1.5.6.3
More information about the Telepathy-commits
mailing list