[Pkg-telepathy-commits] [telepathy-mission-control-6] 26/280: use a constant for the 'Tests' interface

Simon McVittie smcv at debian.org
Thu Mar 27 20:07:01 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 8f2843d1e95faab9aa50563b794be08b5562f2d8
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Oct 2 12:55:59 2013 +0200

    use a constant for the 'Tests' interface
---
 tests/twisted/constants.py   | 1 +
 tests/twisted/servicetest.py | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/constants.py b/tests/twisted/constants.py
index c6b4012..9afe44e 100644
--- a/tests/twisted/constants.py
+++ b/tests/twisted/constants.py
@@ -574,6 +574,7 @@ DTMF_CURRENTLY_SENDING_TONES = CHANNEL_IFACE_DTMF + '.CurrentlySendingTones'
 DTMF_INITIAL_TONES = CHANNEL_IFACE_DTMF + '.InitialTones'
 DTMF_DEFERRED_TONES = CHANNEL_IFACE_DTMF + '.DeferredTones'
 
+TESTS = PREFIX + ".Tests"
 TESTDOT = PREFIX + ".Test."
 TESTSLASH = PATH_PREFIX + "/Test/"
 
diff --git a/tests/twisted/servicetest.py b/tests/twisted/servicetest.py
index 8a813f5..1363802 100644
--- a/tests/twisted/servicetest.py
+++ b/tests/twisted/servicetest.py
@@ -575,8 +575,7 @@ def sync_dbus(bus, q, proxy):
     # dbus-glib and thence the application, which means that Ping()ing the
     # application doesn't ensure that it's processed all D-Bus messages prior
     # to our ping.
-    call_async(q, dbus.Interface(proxy, 'org.freedesktop.Telepathy.Tests'),
-        'DummySyncDBus')
+    call_async(q, dbus.Interface(proxy, cs.TESTS), 'DummySyncDBus')
     q.expect('dbus-error', method='DummySyncDBus')
 
 class ProxyWrapper:

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