I think you have to do something like this in your conftest.py
(or somewhere) so first you create a new loop and then set it with asyncio.
@pytest.fixture(scope='session')
def event_loop():
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
yield loop
loop.close()