[telepathy-gabble/master] olpc/test-olpc-bundle.py: set the IQ type in disco requests

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Jul 3 07:37:10 PDT 2009


---
 tests/twisted/olpc/test-olpc-bundle.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/olpc/test-olpc-bundle.py b/tests/twisted/olpc/test-olpc-bundle.py
index b8a59f9..0d56b66 100644
--- a/tests/twisted/olpc/test-olpc-bundle.py
+++ b/tests/twisted/olpc/test-olpc-bundle.py
@@ -25,6 +25,7 @@ def test(q, bus, conn, stream):
     m = domish.Element((None, 'iq'))
     m['from'] = 'alice at jabber.laptop.org'
     m['id'] = '1'
+    m['type'] = 'get'
     query = m.addElement('query')
     query['xmlns'] = ns.DISCO_INFO
     stream.send(m)
@@ -55,6 +56,7 @@ def test(q, bus, conn, stream):
     m = domish.Element((None, 'iq'))
     m['from'] = 'alice at jabber.laptop.org'
     m['id'] = '2'
+    m['type'] = 'get'
     query = m.addElement('query')
     query['xmlns'] = ns.DISCO_INFO
     stream.send(m)
-- 
1.5.6.5




More information about the telepathy-commits mailing list