telepathy-rakia: sofiatest: use constants

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Tue Oct 1 08:41:30 PDT 2013


Module: telepathy-rakia
Branch: master
Commit: b7b86fbf68563fe3f31fb584bc0231e477046664
URL:    http://cgit.freedesktop.org/telepathy/telepathy-rakia/commit/?id=b7b86fbf68563fe3f31fb584bc0231e477046664

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue Oct  1 13:32:33 2013 +0200

sofiatest: use constants

https://bugs.freedesktop.org/show_bug.cgi?id=69995

---

 tests/twisted/sofiatest.py |    4 ++--
 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



More information about the telepathy-commits mailing list