summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-01 13:32:33 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-01 16:52:50 +0200
commitb7b86fbf68563fe3f31fb584bc0231e477046664 (patch)
treefbe173f4c14d1f4b30fbe6331103374404b816ae
parentdcd961bb4d780cf88d018f25fa774993136c634e (diff)
sofiatest: use constants
https://bugs.freedesktop.org/show_bug.cgi?id=69995
-rw-r--r--tests/twisted/sofiatest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/twisted/sofiatest.py b/tests/twisted/sofiatest.py
index 3abfa3b..91d9e84 100644
--- a/tests/twisted/sofiatest.py
+++ b/tests/twisted/sofiatest.py
@@ -4,6 +4,7 @@ Telepathy-Rakia testing framework
import servicetest
from servicetest import (unwrap, Event)
+import constants as cs
from twisted.protocols import sip
from twisted.internet import reactor
@@ -107,8 +108,7 @@ def go(params=None, register_cb=default_register_cb, start=None):
handler.data = {
'bus': bus,
'conn': conn,
- 'conn_iface': dbus.Interface(conn,
- 'org.freedesktop.Telepathy.Connection'),
+ 'conn_iface': dbus.Interface(conn, cs.CONN),
'sip': sip}
handler.data['test'] = handler
handler.data['sip'].test_handler = handler