[Telepathy-commits] [telepathy-gabble/master] gadget-publish.py: wait for the BuddyGadgetDiscovered signal

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Sep 26 10:02:14 PDT 2008


20080526135251-7fe3f-db1e6506bb2629d44404ecb1264f995c4c234f55.gz
---
 tests/twisted/olpc/gadget-publish.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/olpc/gadget-publish.py b/tests/twisted/olpc/gadget-publish.py
index 63fd501..424306c 100644
--- a/tests/twisted/olpc/gadget-publish.py
+++ b/tests/twisted/olpc/gadget-publish.py
@@ -56,6 +56,9 @@ def test(q, bus, conn, stream):
     feature['var'] = NS_OLPC_ACTIVITY
     stream.send(reply)
 
+    q.expect_many(EventPattern('dbus-signal', signal='BuddyGadgetDiscovered'),
+            EventPattern('dbus-signal', signal='ActivityGadgetDiscovered'))
+
     gadget_iface = dbus.Interface(conn, 'org.laptop.Telepathy.Gadget')
 
     sync_stream(q, stream)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list