black formating

This commit is contained in:
callebtc 2022-06-01 14:53:05 +02:00
parent 7c4ce9bf96
commit f8400512f7
28 changed files with 127 additions and 81 deletions

View file

@ -19,9 +19,10 @@ def app():
loop.run_until_complete(loop.shutdown_asyncgens())
loop.close()
@pytest.fixture
async def client(app):
client = AsyncClient(app=app, base_url=f'http://{HOST}:{PORT}')
client = AsyncClient(app=app, base_url=f"http://{HOST}:{PORT}")
# yield and pass the client to the test
yield client
# close the async client after the test has finished