tests: return the coroutine result in run_coro
This commit is contained in:
parent
35a9526a4c
commit
9270d1e538
@ -637,7 +637,7 @@ class SlixTest(unittest.TestCase):
|
|||||||
|
|
||||||
def run_coro(self, coro):
|
def run_coro(self, coro):
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
loop.run_until_complete(coro)
|
return loop.run_until_complete(coro)
|
||||||
|
|
||||||
def stream_close(self):
|
def stream_close(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user