[telepathy-gabble/master] test that not ready search channels are not listed in Requests.Channels
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Aug 24 09:03:16 PDT 2009
---
tests/twisted/search/unextended.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/search/unextended.py b/tests/twisted/search/unextended.py
index ad3906c..22110e8 100644
--- a/tests/twisted/search/unextended.py
+++ b/tests/twisted/search/unextended.py
@@ -35,6 +35,12 @@ def test(q, bus, conn, stream):
def complete_search(q, bus, conn, requests, stream, server):
call_create(q, requests, server)
+ # the channel is not yet in Requests.Channels as it's not ready yet
+ channels = conn.Get(cs.CONN_IFACE_REQUESTS, 'Channels',
+ dbus_interface=cs.PROPERTIES_IFACE)
+ for path, props in channels:
+ assert props[cs.CHANNEL_TYPE] != cs.CHANNEL_TYPE_CONTACT_SEARCH
+
ret, nc_sig = answer_field_query(q, stream, server)
path, props = ret.value
--
1.5.6.5
More information about the telepathy-commits
mailing list