From 9270d1e538c902aaf71501cd1a0e98633c939a63 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 20 Feb 2021 12:56:14 +0100 Subject: tests: return the coroutine result in run_coro --- slixmpp/test/slixtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): """ -- cgit v1.2.3