diff --git a/.coveragerc b/.coveragerc index 3e5d1ced..3d4000de 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,4 +1,6 @@ [run] +branch = True +source = kuryr omit = kuryr/tests/* [report] diff --git a/tox.ini b/tox.ini index a713d83c..4573a585 100644 --- a/tox.ini +++ b/tox.ini @@ -42,8 +42,9 @@ commands = flake8 commands = {posargs} [testenv:cover] -commands = - python setup.py testr --coverage --testr-args='{posargs}' +commands = + python setup.py test --coverage --testr-args='{posargs}' \ + --coverage-package-name=kuryr.lib coverage report [testenv:docs]