[telepathy-gabble/master] servicetest.py: wrap_connection: add Location iface
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Thu Aug 6 07:59:30 PDT 2009
---
tests/twisted/servicetest.py | 1 +
tests/twisted/test-location.py | 2 --
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tests/twisted/servicetest.py b/tests/twisted/servicetest.py
index 19d537d..d05db7e 100644
--- a/tests/twisted/servicetest.py
+++ b/tests/twisted/servicetest.py
@@ -300,6 +300,7 @@ def wrap_connection(conn):
'Presence', 'SimplePresence', 'Requests']] +
[('Peer', 'org.freedesktop.DBus.Peer'),
('ContactCapabilities', cs.CONN_IFACE_CONTACT_CAPS),
+ ('Location', cs.CONN_IFACE_LOCATION),
]))
def wrap_channel(chan, type_, extra=None):
diff --git a/tests/twisted/test-location.py b/tests/twisted/test-location.py
index ea6ebc9..f7560b0 100644
--- a/tests/twisted/test-location.py
+++ b/tests/twisted/test-location.py
@@ -10,8 +10,6 @@ Rich_Presence_Access_Control_Type_Publish_List = 1
def test(q, bus, conn, stream):
# hack
import dbus
- conn.interfaces['Location'] = \
- dbus.Interface(conn, cs.CONN_IFACE_LOCATION)
conn.interfaces['Properties'] = \
dbus.Interface(conn, dbus.PROPERTIES_IFACE)
--
1.5.6.5
More information about the telepathy-commits
mailing list