Port tests to async #25
|
@ -66,7 +66,6 @@ commands =
|
|||
deps =
|
||||
pytest
|
||||
pytest-asyncio
|
||||
trio
|
||||
commands =
|
||||
pytest tests
|
||||
|
||||
|
|
|
@ -25,6 +25,11 @@ def client():
|
|||
return TestClient(app)
|
||||
|
||||
|
||||
@fixture(scope="module")
|
||||
def anyio_backend():
|
||||
return "asyncio"
|
||||
|
||||
|
||||
@fixture(scope="module")
|
||||
def asyncclient():
|
||||
Mapping.drop_all()
|
||||
|
|
Loading…
Reference in a new issue