
Due to test modules being copied in subdirectories of the build directory by setuptools, it makes pytest fail by raising ImportPathMismatchError exceptions when invoked from root directory of the module. So ignore the build folder to discover tests.
5 lines
173 B
INI
5 lines
173 B
INI
[pytest]
|
|
# We need this to avoid conflicts between the autoloaded fixture, and the
|
|
# manually loaded one.
|
|
addopts = -p no:pytest_swh_scheduler
|
|
norecursedirs = build docs .*
|