[next] telepathy-mission-control: mctest: use the AccountManager path for 'MC' object so we can use sync_dbus
Simon McVittie
smcv at kemper.freedesktop.org
Thu Apr 3 07:28:00 PDT 2014
Module: telepathy-mission-control
Branch: next
Commit: 60c441cfcfbe58882576e4fcdcbe34ff9c75bf42
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=60c441cfcfbe58882576e4fcdcbe34ff9c75bf42
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Mar 18 19:26:09 2014 +0000
mctest: use the AccountManager path for 'MC' object so we can use sync_dbus
It needs to be an object path at which we export a known interface
with properties.
---
tests/twisted/mctest.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/twisted/mctest.py b/tests/twisted/mctest.py
index 5d4ab93..c36b1f4 100644
--- a/tests/twisted/mctest.py
+++ b/tests/twisted/mctest.py
@@ -76,7 +76,9 @@ class MC(dbus.proxies.ProxyObject):
dbus.proxies.ProxyObject.__init__(self,
conn=bus,
bus_name=cs.MC,
- object_path=cs.MC_PATH,
+ # We need to use an object path that actually exists because
+ # otherwise sync_dbus won't work correctly.
+ object_path=cs.AM_PATH,
follow_name_owner_changes=True)
self.connectivity = FakeConnectivity(queue, bus, initially_online)
More information about the telepathy-commits
mailing list