[telepathy-gabble/master] add D-Bus/Telepathy properties interfaces to ProxyWrapper

Dafydd Harries daf at rhydd.org
Wed Apr 1 04:25:35 PDT 2009


---
 tests/twisted/servicetest.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/servicetest.py b/tests/twisted/servicetest.py
index b8485e1..4893eaf 100644
--- a/tests/twisted/servicetest.py
+++ b/tests/twisted/servicetest.py
@@ -400,6 +400,9 @@ class ProxyWrapper:
     def __init__(self, object, default, others):
         self.object = object
         self.default_interface = dbus.Interface(object, default)
+        self.Properties = dbus.Interface(object, dbus.PROPERTIES_IFACE)
+        self.TpProperties = \
+            dbus.Interface(object, tp_name_prefix + '.Properties')
         self.interfaces = dict([
             (name, dbus.Interface(object, iface))
             for name, iface in others.iteritems()])
-- 
1.5.6.5




More information about the telepathy-commits mailing list