mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-04 12:20:50 -05:00
Run pytest with asyncio mode set to auto
My understanding is that currently all of the coroutine functions decorated with `@pytest.fixture` are being skipped because pytest-asyncio is running in strict mode (https://pytest-asyncio.readthedocs.io/en/latest/concepts.html#test-discovery-modes). To fix this, you can either change all those declarations to `@pytest_asyncio.fixture` or add this config file, so I went with the least invasive change to a project I'm unfamiliar with.
This commit is contained in:
parent
3968c69aa8
commit
1d24a3f529
2
pytest.ini
Normal file
2
pytest.ini
Normal file
@ -0,0 +1,2 @@
|
||||
[pytest]
|
||||
asyncio_mode = auto
|
Loading…
Reference in New Issue
Block a user