tests: return the coroutine result in run_coro

This commit is contained in:
mathieui 2021-02-20 12:56:14 +01:00
parent 35a9526a4c
commit 9270d1e538

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