Ensure tests run through the poetry env's pytest

This commit is contained in:
Miguel Jacq 2026-06-22 15:05:48 +10:00
parent 00f960d01e
commit c4448226c0
Signed by: mig5
GPG key ID: 03906B4110AAD3B8
2 changed files with 2 additions and 2 deletions

View file

@ -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() {