swh-lister/pytest.ini
Antoine Lambert b083b4f1f9 pytest: Fix tests execution with pytest 8.1
Remove use of --import-mode=importlib pytest option and use
new option consider_namespace_packages to fix tests execution
with latest pytest release.
2024-03-13 10:58:03 +01:00

8 lines
236 B
INI

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