Skip to content

Commit a3025db

Browse files
add poetry for pytest
1 parent 21ee873 commit a3025db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_suite.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ then
4141
fi
4242

4343
echo -ne "$SECTION_PREFIX RUN TESTS:\n\n"
44-
python -m pytest -vv --durations=3 --cov ./ --cov-report term-missing $PYTEST_REPORTS $SPECIFIC_TESTS; STATUS1=$?
44+
poetry run pytest -vv --durations=3 --cov ./ --cov-report term-missing $PYTEST_REPORTS $SPECIFIC_TESTS; STATUS1=$?
4545

4646
echo -ne "$SECTION_PREFIX CHECK DOCKER USER IS PYTHON: "
4747
USEROUT=`checkuser`
@@ -69,7 +69,7 @@ else
6969
fi
7070

7171
echo -ne "$SECTION_PREFIX CHECK DOCSTRINGS: "
72-
INTERROGATEOUT=`poetry interrogate`
72+
INTERROGATEOUT=`poetry run interrogate`
7373
STATUS5=$?
7474
reportvalidation "$STATUS5" "$INTERROGATEOUT"
7575

0 commit comments

Comments
 (0)