Ensure tests run through the poetry env's pytest
This commit is contained in:
parent
00f960d01e
commit
c4448226c0
2 changed files with 2 additions and 2 deletions
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
set -eou pipefail
|
||||
|
||||
poetry run pytest -q tests -vvv --cov=enroll --cov-report=term-missing
|
||||
poetry run python -m pytest -q tests -vvv --cov=enroll --cov-report=term-missing
|
||||
|
|
|
|||
2
tests.sh
2
tests.sh
|
|
@ -330,7 +330,7 @@ ensure_salt() {
|
|||
run_pytests() {
|
||||
section "Python unit tests"
|
||||
cd "${PROJECT_ROOT}"
|
||||
run poetry run pytest -vvvv --cov=enroll --cov-report=term-missing --disable-warnings
|
||||
run poetry run python -m pytest -vvvv --cov=enroll --cov-report=term-missing --disable-warnings
|
||||
}
|
||||
|
||||
prepare_harvest_fixture() {
|
||||
|
|
|
|||
Reference in a new issue