Merge "Fix coverage option and execution"

This commit is contained in:
Jenkins 2016-10-03 13:50:44 +00:00 committed by Gerrit Code Review
commit f59933a68c
2 changed files with 7 additions and 1 deletions

4
.gitignore vendored
View File

@ -47,3 +47,7 @@ etc/muranoagent/muranoagent.conf.sample
# Files created by releasenotes build
releasenotes/build
# Coverage
.coverage
cover/

View File

@ -23,7 +23,9 @@ commands =
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
commands = python setup.py test --coverage \
--coverage-package-name=muranoagent --testr-args='{posargs}'
coverage report --omit '*/tests/*'
[testenv:docs]
commands = python setup.py build_sphinx