[tests] Disable trio backend for AnyIO

pull/25/head
missytake 2023-04-01 14:40:02 +02:00
parent 48e3b6f6bc
commit c1b8ad2984
3 changed files with 6 additions and 2 deletions

View File

@ -66,7 +66,6 @@ commands =
deps =
pytest
pytest-asyncio
trio
commands =
pytest tests

View File

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

View File

@ -6,4 +6,4 @@ ln -sf ../../git-hooks/commit-msg .git/hooks/commit-msg
# create virtualenv
virtualenv -p $(which python3.10) backend/.venv
backend/.venv/bin/pip install tox black pytest pytest-aiohttp trio
backend/.venv/bin/pip install tox black pytest pytest-aiohttp