[Telepathy-commits] [telepathy-gabble/master] tests/twisted/jingle/: exercise the Requested property

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


20080722163216-53eee-c720207242565dc3ccfca6d90eba224d8083e40a.gz
---
 tests/twisted/jingle/test-incoming-call-reject.py  |    1 +
 .../jingle/test-outgoing-call-deprecated.py        |    1 +
 .../jingle/test-outgoing-call-deprecated2.py       |    1 +
 tests/twisted/jingle/test-outgoing-call.py         |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/jingle/test-incoming-call-reject.py b/tests/twisted/jingle/test-incoming-call-reject.py
index 8124130..d9de0a9 100644
--- a/tests/twisted/jingle/test-incoming-call-reject.py
+++ b/tests/twisted/jingle/test-incoming-call-reject.py
@@ -72,6 +72,7 @@ def test(q, bus, conn, stream):
     future_props = media_chan.GetAll(
             'org.freedesktop.Telepathy.Channel.FUTURE',
             dbus_interface='org.freedesktop.DBus.Properties')
+    assert future_props['Requested'] == False
     assert future_props['TargetID'] == ''
     assert future_props['InitiatorID'] == 'foo at bar.com'
     assert future_props['InitiatorHandle'] == remote_handle
diff --git a/tests/twisted/jingle/test-outgoing-call-deprecated.py b/tests/twisted/jingle/test-outgoing-call-deprecated.py
index 485f815..982535e 100644
--- a/tests/twisted/jingle/test-outgoing-call-deprecated.py
+++ b/tests/twisted/jingle/test-outgoing-call-deprecated.py
@@ -53,6 +53,7 @@ def test(q, bus, conn, stream):
     future_props = group_iface.GetAll(
             'org.freedesktop.Telepathy.Channel.FUTURE',
             dbus_interface='org.freedesktop.DBus.Properties')
+    assert future_props['Requested'] == True
     assert future_props['TargetID'] == ''
     assert future_props['InitiatorID'] == 'test at localhost'
     assert future_props['InitiatorHandle'] == conn.GetSelfHandle()
diff --git a/tests/twisted/jingle/test-outgoing-call-deprecated2.py b/tests/twisted/jingle/test-outgoing-call-deprecated2.py
index da41b91..72944a5 100644
--- a/tests/twisted/jingle/test-outgoing-call-deprecated2.py
+++ b/tests/twisted/jingle/test-outgoing-call-deprecated2.py
@@ -53,6 +53,7 @@ def test(q, bus, conn, stream):
     future_props = group_iface.GetAll(
             'org.freedesktop.Telepathy.Channel.FUTURE',
             dbus_interface='org.freedesktop.DBus.Properties')
+    assert future_props['Requested'] == True
     assert future_props['TargetID'] == ''
     assert future_props['InitiatorID'] == 'test at localhost'
     assert future_props['InitiatorHandle'] == conn.GetSelfHandle()
diff --git a/tests/twisted/jingle/test-outgoing-call.py b/tests/twisted/jingle/test-outgoing-call.py
index 6d5dcdc..2a3e5ae 100644
--- a/tests/twisted/jingle/test-outgoing-call.py
+++ b/tests/twisted/jingle/test-outgoing-call.py
@@ -78,6 +78,7 @@ def test(q, bus, conn, stream):
     future_props = group_iface.GetAll(
             'org.freedesktop.Telepathy.Channel.FUTURE',
             dbus_interface='org.freedesktop.DBus.Properties')
+    assert future_props['Requested'] == True
     assert future_props['TargetID'] == ''
     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