matrix-org / pantalaimon

E2EE aware proxy daemon for matrix clients.
Apache License 2.0
279 stars 41 forks source link

Run pytest with asyncio mode set to auto #161

Open non-Jedi opened 10 months ago

non-Jedi commented 10 months ago

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.