Merge "Enable coverage report in console output"

This commit is contained in:
Jenkins
2017-07-02 08:37:55 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@@ -24,6 +24,7 @@ pip-log.txt
# Unit test / coverage reports # Unit test / coverage reports
.coverage .coverage
cover
.tox .tox
nosetests.xml nosetests.xml
.testrepository .testrepository

View File

@@ -27,7 +27,9 @@ setenv =
OS_TEST_PATH = ./karborclient/tests/functional OS_TEST_PATH = ./karborclient/tests/functional
passenv = OS_* passenv = OS_*
[testenv:cover] [testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}' commands =
python setup.py test --coverage --testr-args='{posargs}'
coverage report
[testenv:docs] [testenv:docs]
commands = python setup.py build_sphinx commands = python setup.py build_sphinx