[telepathy-idle/master] Test that Connection.GetInterfaces() includes Requests

Will Thompson will.thompson at collabora.co.uk
Sat Aug 29 06:22:33 PDT 2009


---
 tests/twisted/channels/requests-create.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/channels/requests-create.py b/tests/twisted/channels/requests-create.py
index 00f3a1b..ebe1db4 100644
--- a/tests/twisted/channels/requests-create.py
+++ b/tests/twisted/channels/requests-create.py
@@ -13,6 +13,10 @@ def test(q, bus, conn, stream):
     conn.Connect()
     q.expect('dbus-signal', signal='StatusChanged', args=[0,1])
 
+    ifs = conn.GetInterfaces()
+
+    assert cs.CONN_IFACE_REQUESTS in ifs
+
     nick = 'foo'
     call_async(q, conn, 'RequestHandles', cs.HT_CONTACT, [nick])
     event = q.expect('dbus-return', method='RequestHandles')
-- 
1.5.6.5




More information about the telepathy-commits mailing list