mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Replace AsgiLifespan with AsgiRunOnFirstRequest, refs #1955
This commit is contained in:
parent
e054704fb6
commit
dc18f62089
5 changed files with 22 additions and 50 deletions
|
|
@ -6,7 +6,6 @@ import pytest_asyncio
|
|||
|
||||
@pytest_asyncio.fixture
|
||||
async def datasette(app_client):
|
||||
await app_client.ds.invoke_startup()
|
||||
return app_client.ds
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue