def event_loop():
    """Reference: https://github.com/pytest-dev/pytest-asyncio/issues/38#issuecomment-264418154"""
    loop = asyncio.get_event_loop_policy().new_event_loop()
    yield loop
    loop.close()
Reference: https://github.com/pytest-dev/pytest-asyncio/issues/38#issuecomment-264418154
users/tests/conftest.py