diff options
author | mathieui <mathieui@mathieui.net> | 2021-02-20 12:56:14 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-02-20 12:56:14 +0100 |
commit | 9270d1e538c902aaf71501cd1a0e98633c939a63 (patch) | |
tree | eddf38daedb5e579c0ae48699ecd0bf663edbb95 | |
parent | 35a9526a4ce177d00be1fc6d168626c1d6edef31 (diff) | |
download | slixmpp-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.py | 2 |
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): """ |