Merge "Improving cover testenv"

This commit is contained in:
Jenkins 2017-06-28 18:25:10 +00:00 committed by Gerrit Code Review
commit 9364dedfb2
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@ commands = rm -rf doc/build
sphinx-build -E -W -b html doc/source doc/build/html
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
commands =
coverage erase
find . -type f -name "*.pyc" -delete
python setup.py testr --coverage --testr-args='{posargs}'
coverage report
[testenv:bandit]
deps = -r{toxinidir}/test-requirements.txt