diff --git a/run-tests.sh b/run-tests.sh index 662d19aef..0eb84de03 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -22,7 +22,7 @@ done # Run tests if [ -z "$FILTERS" ]; then - $PYTHON -m pytest + $PYTHON setup.py test else - $PYTHON -m pytest -k "$FILTERS" + $PYTHON setup.py test --addopts="-k \"$FILTERS\"" fi