Merge branch 'test-run-coro-return-value' into 'master'

tests: return the coroutine result in run_coro

See merge request poezio/slixmpp!138
This commit is contained in:
mathieui 2021-02-20 12:58:52 +01:00
commit 17a663b0fd

View file

@ -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):
"""