[Telepathy-commits] [telepathy-salut/master] test-receive-file.py: check if we receive the OOB IQ result

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Nov 21 03:46:49 PST 2008


---
 tests/twisted/avahi/test-receive-file.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/avahi/test-receive-file.py b/tests/twisted/avahi/test-receive-file.py
index 0eff1b7..ade589d 100644
--- a/tests/twisted/avahi/test-receive-file.py
+++ b/tests/twisted/avahi/test-receive-file.py
@@ -175,6 +175,9 @@ def test(q, bus, conn):
 
     httpd.handle_request()
 
+    # Receiver inform us he finished to download the file
+    q.expect('stream-iq', iq_type='result')
+
     # Read the file from Salut's socket
     data = ''
     read = 0
-- 
1.5.6.5




More information about the Telepathy-commits mailing list