[next] telepathy-mission-control: use a constant for the 'Tests' interface
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Wed Oct 2 04:39:42 PDT 2013
Module: telepathy-mission-control
Branch: next
Commit: 8f2843d1e95faab9aa50563b794be08b5562f2d8
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=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:
More information about the telepathy-commits
mailing list