[next] telepathy-mission-control: Use the AccountManager object path to call Abort

Simon McVittie smcv at kemper.freedesktop.org
Thu Apr 3 07:28:01 PDT 2014


Module: telepathy-mission-control
Branch: next
Commit: dc6d465492788eb94f3a1c123eaa294e7b55086e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=dc6d465492788eb94f3a1c123eaa294e7b55086e

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Mar 21 18:13:14 2014 +0000

Use the AccountManager object path to call Abort

I moved the MC "object" to point to that path already, and in a later
commit I'll change the debug API from being exposed at all object paths
to only that one object path.

---

 tests/twisted/mctest.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/twisted/mctest.py b/tests/twisted/mctest.py
index c36b1f4..56e3725 100644
--- a/tests/twisted/mctest.py
+++ b/tests/twisted/mctest.py
@@ -1282,7 +1282,7 @@ def tell_mc_to_die(q, bus):
     """Instructs the running Mission Control to die via a magic method call in
     the version built for tests."""
 
-    secret_debug_api = dbus.Interface(bus.get_object(cs.AM, "/"),
+    secret_debug_api = dbus.Interface(bus.get_object(cs.AM, cs.AM_PATH),
         'im.telepathy.v1.MissionControl6.RegressionTests')
     secret_debug_api.Abort()
 



More information about the telepathy-commits mailing list