[Telepathy-commits] [telepathy-gabble/master] gadget-invite.py: disconnect manually and reply to the PEP activity iq

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Oct 1 10:04:29 PDT 2008


---
 tests/twisted/olpc/gadget-invite.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/olpc/gadget-invite.py b/tests/twisted/olpc/gadget-invite.py
index 008f445..2fcac75 100644
--- a/tests/twisted/olpc/gadget-invite.py
+++ b/tests/twisted/olpc/gadget-invite.py
@@ -136,5 +136,11 @@ def test(q, bus, conn, stream):
     members = muc_group.GetMembers()
     assert conn.InspectHandles(1, members) == ['myroom at conference.localhost/test']
 
+    conn.Disconnect()
+
+    # PEP activity update
+    event = q.expect('stream-iq')
+    acknowledge_iq(stream, event.stanza)
+
 if __name__ == '__main__':
     exec_test(test)
-- 
1.5.6.5



More information about the Telepathy-commits mailing list