[telepathy-gabble/master] Add ContactCapabilities to test connection proxy

Will Thompson will.thompson at collabora.co.uk
Wed Jun 3 07:11:36 PDT 2009


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

diff --git a/tests/twisted/servicetest.py b/tests/twisted/servicetest.py
index aa0ac58..19d537d 100644
--- a/tests/twisted/servicetest.py
+++ b/tests/twisted/servicetest.py
@@ -14,6 +14,8 @@ import dbus.glib
 
 from twisted.internet import reactor
 
+import constants as cs
+
 tp_name_prefix = 'org.freedesktop.Telepathy'
 tp_path_prefix = '/org/freedesktop/Telepathy'
 
@@ -296,7 +298,9 @@ def wrap_connection(conn):
             (name, tp_name_prefix + '.Connection.Interface.' + name)
             for name in ['Aliasing', 'Avatars', 'Capabilities', 'Contacts',
               'Presence', 'SimplePresence', 'Requests']] +
-        [('Peer', 'org.freedesktop.DBus.Peer')]))
+        [('Peer', 'org.freedesktop.DBus.Peer'),
+         ('ContactCapabilities', cs.CONN_IFACE_CONTACT_CAPS),
+        ]))
 
 def wrap_channel(chan, type_, extra=None):
     interfaces = {
-- 
1.5.6.5




More information about the telepathy-commits mailing list