Merge pull request #557 from ProtixIT/fix-tests-module-not-found

Fix "ImportError: No module named 'tests'" by calling pytest through `python -m`
This commit is contained in:
Jelmer 2023-04-06 13:21:31 +02:00 committed by GitHub
commit 76f681d064
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ passenv =
DB_*
usedevelop = True
commands =
pytest {posargs}
python -m pytest {posargs}
[testenv:flake8]
basepython =