[Pkg-telepathy-commits] [telepathy-mission-control-6] 30/90: mctest: use the AccountManager path for 'MC' object so we can use sync_dbus

Simon McVittie smcv at debian.org
Wed May 14 12:09:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.

commit 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git



More information about the Pkg-telepathy-commits mailing list