This is an automated email from the git hooks/post-receive script.
praiskup pushed a commit to branch master in repository copr/copr.
commit 2871caf16270ab54859802835b4ba6f54ba36ead Author: Pavel Raiskup praiskup@redhat.com AuthorDate: Mon Sep 2 14:14:40 2019 +0200
python: fix run_tests.sh wrapper --- python/run_tests.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/python/run_tests.sh b/python/run_tests.sh index 8295422..e8e42fe 100755 --- a/python/run_tests.sh +++ b/python/run_tests.sh @@ -1,4 +1,6 @@ #!/bin/bash -#python -B -m pytest --cov-report term-missing --cov ./copr_cli/ tests $@
-PYTHONPATH=.:$PYTHONPATH python -B -m pytest --cov-report term-missing --cov ./copr/client_v2/ -s $@ +absdir="$(dirname "$(readlink -f "$0")")" +export PYTHONPATH="$absdir" + +python3 -B -m pytest --cov-report term-missing copr/test "$@"