[telepathy-mission-control/master] mctest: allow enable_fakecm_account to make connections with simple presence

Simon McVittie simon.mcvittie at collabora.co.uk
Wed May 20 08:39:02 PDT 2009


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

diff --git a/test/twisted/mctest.py b/test/twisted/mctest.py
index 12a3ab7..36ffa6c 100644
--- a/test/twisted/mctest.py
+++ b/test/twisted/mctest.py
@@ -545,7 +545,7 @@ def create_fakecm_account(q, bus, mc, params):
     return (cm_name_ref, account)
 
 def enable_fakecm_account(q, bus, mc, account, expected_params,
-        has_requests=True):
+        has_requests=True, has_presence=False):
     # Enable the account
     account.Set(cs.ACCOUNT, 'Enabled', True,
             dbus_interface=cs.PROPERTIES_IFACE)
@@ -564,7 +564,7 @@ def enable_fakecm_account(q, bus, mc, account, expected_params,
             handled=False)
 
     conn = SimulatedConnection(q, bus, 'fakecm', 'fakeprotocol', '_',
-            'myself', has_requests=has_requests)
+            'myself', has_requests=has_requests, has_presence=has_presence)
 
     q.dbus_return(e.message, conn.bus_name, conn.object_path, signature='so')
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list