A bunch of remaining ds_client conversions, refs #1959

This commit is contained in:
Simon Willison 2022-12-16 09:44:30 -08:00
commit 42a66c2f04
5 changed files with 17 additions and 14 deletions

View file

@ -1,13 +1,12 @@
from .fixtures import app_client
import httpx
import pytest
import pytest_asyncio
@pytest_asyncio.fixture
async def datasette(app_client):
await app_client.ds.invoke_startup()
return app_client.ds
async def datasette(ds_client):
await ds_client.ds.invoke_startup()
return ds_client.ds
@pytest.mark.asyncio