Merge "Improving cover testenv"

This commit is contained in:
Jenkins 2017-07-14 06:20:23 +00:00 committed by Gerrit Code Review
commit aa1aad9bff
1 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,11 @@ commands = {toxinidir}/tools/pip-install-single-req.sh test-requirements.txt hac
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='^(?!congress\.tests\.haht\.test_congress_haht.*){posargs}'
commands =
coverage erase
find . -type f -name "*.pyc" -delete
python setup.py testr --coverage --testr-args='^(?!congress\.tests\.haht\.test_congress_haht.*){posargs}'
coverage report
[testenv:debug]
commands = oslo_debug_helper -t congress/tests {posargs}