Replace AsgiLifespan with AsgiRunOnFirstRequest, refs #1955

This commit is contained in:
Simon Willison 2022-12-15 09:34:07 -08:00
commit dc18f62089
5 changed files with 22 additions and 50 deletions

View file

@ -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