black formating
This commit is contained in:
parent
7c4ce9bf96
commit
f8400512f7
28 changed files with 127 additions and 81 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue