https://forge.softwareheritage.org/source/swh-scheduler.git
Revision 78f5579bc07219068f211e25c3bab7013140941c authored by Antoine Lambert on 22 March 2022, 10:58:10 UTC, committed by Antoine Lambert on 22 March 2022, 10:58:10 UTC
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.
1 parent 5cc62be
History
Tip revision: 78f5579bc07219068f211e25c3bab7013140941c authored by Antoine Lambert on 22 March 2022, 10:58:10 UTC
pytest: Exclude build directory for tests discovery
Tip revision: 78f5579
File Mode Size
data
docs
sql
swh
.gitignore -rw-r--r-- 129 bytes
.pre-commit-config.yaml -rw-r--r-- 918 bytes
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 14 bytes
LICENSE -rw-r--r-- 34.3 KB
LICENSE.Celery -rw-r--r-- 2.6 KB
MANIFEST.in -rw-r--r-- 154 bytes
Makefile -rw-r--r-- 163 bytes
README.md -rw-r--r-- 292 bytes
conftest.py -rw-r--r-- 664 bytes
mypy.ini -rw-r--r-- 750 bytes
pyproject.toml -rw-r--r-- 237 bytes
pytest.ini -rw-r--r-- 39 bytes
requirements-journal.txt -rw-r--r-- 12 bytes
requirements-simulator.txt -rw-r--r-- 21 bytes
requirements-swh.txt -rw-r--r-- 45 bytes
requirements-test.txt -rw-r--r-- 263 bytes
requirements.txt -rw-r--r-- 358 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.5 KB
tox.ini -rw-r--r-- 1.5 KB

README.md

back to top