Skip to content
Snippets Groups Projects
Commit 7e475942 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

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.
parent 3acaef34
No related branches found
No related tags found
No related merge requests found
Pipeline #7649 passed
[pytest] [pytest]
norecursedirs = build docs .* norecursedirs = build docs .*
asyncio_mode = strict asyncio_mode = strict
addopts = "--import-mode=importlib" consider_namespace_packages = true
msgpack msgpack
pytest pytest >= 8.1
pytest-mock pytest-mock
pyyaml pyyaml
swh.core[testing] >= 3.0.0 swh.core[testing] >= 3.0.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment