[Telepathy-commits] [telepathy-gabble/master] ack IBB IQ's in tests
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Mar 9 09:08:13 PDT 2009
---
tests/twisted/bytestream.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tests/twisted/bytestream.py b/tests/twisted/bytestream.py
index 3bc6735..ade4b6c 100644
--- a/tests/twisted/bytestream.py
+++ b/tests/twisted/bytestream.py
@@ -415,6 +415,11 @@ class BytestreamIBB(Bytestream):
binary = base64.b64decode(str(ibb_data))
assert ibb_data['sid'] == self.stream_id
+
+ # ack the IQ
+ result = make_result_iq(self.stream, ibb_event.stanza)
+ result.send()
+
return binary
def wait_bytestream_closed(self):
--
1.5.6.5
More information about the telepathy-commits
mailing list