[telepathy-mission-control/master] mctest: expect ListChannels to be called during Connection setup

Simon McVittie simon.mcvittie at collabora.co.uk
Fri May 15 10:24:05 PDT 2009


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

diff --git a/test/twisted/mctest.py b/test/twisted/mctest.py
index 4449b76..dd97ef3 100644
--- a/test/twisted/mctest.py
+++ b/test/twisted/mctest.py
@@ -545,6 +545,10 @@ def enable_fakecm_account(q, bus, mc, account, expected_params,
                 interface=cs.PROPERTIES_IFACE, method='GetAll',
                 args=[cs.CONN_IFACE_REQUESTS],
                 path=conn.object_path, handled=True)
+    else:
+        q.expect('dbus-method-call',
+                interface=cs.CONN, method='ListChannels', args=[],
+                path=conn.object_path, handled=True)
 
     return conn
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list