Revert "Replace AsgiLifespan with AsgiRunOnFirstRequest, refs #1955"

This reverts commit dc18f62089.
This commit is contained in:
Simon Willison 2022-12-15 13:06:45 -08:00
commit 0b68996cc5
5 changed files with 50 additions and 22 deletions

View file

@ -6,6 +6,7 @@ import pytest_asyncio
@pytest_asyncio.fixture
async def datasette(app_client):
await app_client.ds.invoke_startup()
return app_client.ds