run-tests: use pytest and generate coverage report
Use the more powerful pytest framework together with pytest-cov to generate coverage support.
This commit is contained in:
parent
0efe8941c6
commit
e5f563c9a1
1 changed files with 1 additions and 1 deletions
|
|
@ -10,5 +10,5 @@ pushd test
|
|||
podman build -t koji.test -f Dockerfile .
|
||||
popd
|
||||
|
||||
run_test "python3 -m unittest discover -v test/unit/"
|
||||
run_test "pytest -v --cov-report=term --cov=osbuild test/unit/"
|
||||
run_test "pylint test/**/*.py"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue