diff --git a/.coveragerc b/.coveragerc index 5d31ba1..428e34b 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,6 +1,7 @@ [run] branch = True -source = validations-common +source = validations_common +omit = validations_common/tests/* [report] ignore_errors = True diff --git a/tox.ini b/tox.ini index c7cb449..4677808 100644 --- a/tox.ini +++ b/tox.ini @@ -115,7 +115,7 @@ passenv = * [testenv:cover] setenv = - PYTHON=coverage run --source validations_common --parallel-mode --branch + PYTHON=coverage run --parallel-mode --branch HOME={envdir} commands = coverage erase