[tests] Disable trio backend for AnyIO
This commit is contained in:
parent
48e3b6f6bc
commit
c1b8ad2984
|
@ -66,7 +66,6 @@ commands =
|
||||||
deps =
|
deps =
|
||||||
pytest
|
pytest
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
trio
|
|
||||||
commands =
|
commands =
|
||||||
pytest tests
|
pytest tests
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,11 @@ def client():
|
||||||
return TestClient(app)
|
return TestClient(app)
|
||||||
|
|
||||||
|
|
||||||
|
@fixture(scope="module")
|
||||||
|
def anyio_backend():
|
||||||
|
return "asyncio"
|
||||||
|
|
||||||
|
|
||||||
@fixture(scope="module")
|
@fixture(scope="module")
|
||||||
def asyncclient():
|
def asyncclient():
|
||||||
Mapping.drop_all()
|
Mapping.drop_all()
|
||||||
|
|
2
setup.sh
2
setup.sh
|
@ -6,4 +6,4 @@ ln -sf ../../git-hooks/commit-msg .git/hooks/commit-msg
|
||||||
|
|
||||||
# create virtualenv
|
# create virtualenv
|
||||||
virtualenv -p $(which python3.10) backend/.venv
|
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
|
||||||
|
|
Loading…
Reference in a new issue