[Telepathy-commits] [telepathy-mission-control/master] test-connect.py: Check that SetSelfCapabilities is called

Alban Crequy alban.crequy at collabora.co.uk
Thu Nov 13 09:45:08 PST 2008


---
 test/twisted/test-connect.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/test/twisted/test-connect.py b/test/twisted/test-connect.py
index fe4c34c..b3b1384 100644
--- a/test/twisted/test-connect.py
+++ b/test/twisted/test-connect.py
@@ -75,6 +75,10 @@ def test(q, bus, mc):
     e = q.expect('dbus-method-call', name='Connect',
             path=conn_object_path)
 
+    e = q.expect('dbus-method-call', name='SetSelfCapabilities',
+            path=conn_object_path)
+    assert e.caps == dbus.Array([]), e.caps
+
     # Check the requested presence is online
     properties = account.GetAll(
             'org.freedesktop.Telepathy.Account',
-- 
1.5.6.5




More information about the Telepathy-commits mailing list