diff --git a/.coveragerc b/.coveragerc index 1ab02ceb6..0050efb81 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,7 +1,13 @@ [run] branch = True -source = tripleo-validations +source = + tripleo_validations + library + lookup_plugins omit = tripleo-validations/openstack/* [report] ignore_errors = True +omit = + tripleo_validations/tests/* + tests/* \ No newline at end of file diff --git a/tox.ini b/tox.ini index 2c3bb1820..8b4b37259 100644 --- a/tox.ini +++ b/tox.ini @@ -106,7 +106,7 @@ commands = [testenv:cover] setenv = - PYTHON=coverage run --source tripleo_validations --parallel-mode --branch + PYTHON=coverage run --parallel-mode --branch HOME={envdir} commands = coverage erase