summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-02-20 12:56:14 +0100
committermathieui <mathieui@mathieui.net>2021-02-20 12:56:14 +0100
commit9270d1e538c902aaf71501cd1a0e98633c939a63 (patch)
treeeddf38daedb5e579c0ae48699ecd0bf663edbb95
parent35a9526a4ce177d00be1fc6d168626c1d6edef31 (diff)
downloadslixmpp-9270d1e538c902aaf71501cd1a0e98633c939a63.tar.gz
slixmpp-9270d1e538c902aaf71501cd1a0e98633c939a63.tar.bz2
slixmpp-9270d1e538c902aaf71501cd1a0e98633c939a63.tar.xz
slixmpp-9270d1e538c902aaf71501cd1a0e98633c939a63.zip
tests: return the coroutine result in run_coro
-rw-r--r--slixmpp/test/slixtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/test/slixtest.py b/slixmpp/test/slixtest.py
index d0e380f7..64d60d8d 100644
--- a/slixmpp/test/slixtest.py
+++ b/slixmpp/test/slixtest.py
@@ -637,7 +637,7 @@ class SlixTest(unittest.TestCase):
def run_coro(self, coro):
loop = asyncio.get_event_loop()
- loop.run_until_complete(coro)
+ return loop.run_until_complete(coro)
def stream_close(self):
"""