diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..be6069e --- /dev/null +++ b/.coveragerc @@ -0,0 +1,7 @@ +[run] +branch = True +source = os_apply_config +omit = os_apply_config/tests/*,os_apply_config/openstack/* + +[report] +ignore-errors = True diff --git a/tox.ini b/tox.ini index 639b490..20abef8 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,7 @@ commands = flake8 [testenv:cover] setenv = VIRTUAL_ENV={envdir} commands = - python setup.py testr --coverage + python setup.py test --coverage --coverage-package-name=os_apply_config [testenv:venv] commands = {posargs}