From b7b86fbf68563fe3f31fb584bc0231e477046664 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 1 Oct 2013 13:32:33 +0200 Subject: sofiatest: use constants https://bugs.freedesktop.org/show_bug.cgi?id=69995 --- tests/twisted/sofiatest.py | 4 ++-- 1 file 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 -- cgit v1.2.3