summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-21 18:13:14 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-27 15:40:39 +0000
commitdc6d465492788eb94f3a1c123eaa294e7b55086e (patch)
tree05d3284b9f333bd6560264f32a7294a234b17bf8
parent60c441cfcfbe58882576e4fcdcbe34ff9c75bf42 (diff)
downloadtelepathy-mission-control-dc6d465492788eb94f3a1c123eaa294e7b55086e.tar.gz
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.
-rw-r--r--tests/twisted/mctest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/twisted/mctest.py b/tests/twisted/mctest.py
index c36b1f4e..56e37257 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()