[Telepathy-commits] [telepathy-gabble/master] Location test: use dbus.PROPERTIES_IFACE instead of hardcoded string

Alban Crequy alban.crequy at collabora.co.uk
Sat Jan 31 01:56:18 PST 2009


---
 tests/twisted/test-location.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/test-location.py b/tests/twisted/test-location.py
index 2cdd428..77e86b0 100644
--- a/tests/twisted/test-location.py
+++ b/tests/twisted/test-location.py
@@ -14,7 +14,7 @@ def test(q, bus, conn, stream):
     conn.interfaces['Location'] = \
         dbus.Interface(conn, location_iface)
     conn.interfaces['Properties'] = \
-        dbus.Interface(conn, 'org.freedesktop.DBus.Properties')
+        dbus.Interface(conn, dbus.PROPERTIES_IFACE)
 
     conn.Connect()
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list