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:
commit
17a663b0fd
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue