swh-lister/pytest.ini
Antoine Lambert e4c707d807 pytest.ini: Ensure '--import-mode importlib' option is always used
Fix hanging test when executed outside tox.
2023-12-01 14:43:03 +01:00

9 lines
228 B
INI

[pytest]
addopts =
# we need this to avoid conflicts between the autoloaded fixture,
# and the manually loaded one.
-p no:pytest_swh_scheduler
--import-mode importlib
norecursedirs = build docs .*
asyncio_mode = strict