From 3f02999f5c3350cca39971a2fbc145e735a63e4b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 1 Oct 2013 13:32:33 +0200 Subject: [PATCH 5/6] 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 -- 1.8.3.1