mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
A bunch of remaining ds_client conversions, refs #1959
This commit is contained in:
parent
be95359a80
commit
42a66c2f04
5 changed files with 17 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue