Exemple #1
0
def loop():
    from pytest_sanic.plugin import loop as sanic_loop

    return utils.enable_async_loop_debugging(next(sanic_loop()))
Exemple #2
0
 async def configure_logging():
     if logger.isEnabledFor(logging.DEBUG):
         utils.enable_async_loop_debugging(asyncio.get_event_loop())