diff options
author | mathieui <mathieui@mathieui.net> | 2015-04-19 20:53:35 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-04-19 20:53:35 +0200 |
commit | 0305ce66b7123c57e72c23492b2e31695117d9a2 (patch) | |
tree | 46bb4510b9b3f17529446cf83e0f2671d6fbf16b /tests | |
parent | bdb1f66ac96ff19b236f4ad5d57df6f83cdf27e9 (diff) | |
parent | 474405ab90ca9a484277bd4f3af9fae6934c4c44 (diff) | |
download | slixmpp-0305ce66b7123c57e72c23492b2e31695117d9a2.tar.gz slixmpp-0305ce66b7123c57e72c23492b2e31695117d9a2.tar.bz2 slixmpp-0305ce66b7123c57e72c23492b2e31695117d9a2.tar.xz slixmpp-0305ce66b7123c57e72c23492b2e31695117d9a2.zip |
Merge branch 'ibb' of http://linkmauve.fr/git/slixmpp
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_stream_xep_0047.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_stream_xep_0047.py b/tests/test_stream_xep_0047.py index 2cc43823..ecba2445 100644 --- a/tests/test_stream_xep_0047.py +++ b/tests/test_stream_xep_0047.py @@ -1,3 +1,4 @@ +import asyncio import threading import time @@ -78,6 +79,7 @@ class TestInBandByteStreams(SlixTest): self.assertEqual(events, set(['ibb_stream_start', 'callback'])) + @asyncio.coroutine def testSendData(self): """Test sending data over an in-band bytestream.""" @@ -115,7 +117,7 @@ class TestInBandByteStreams(SlixTest): # Test sending data out - stream.send("Testing") + yield from stream.send("Testing") self.send(""" <iq type="set" id="2" |