Improve tox to show coverage report on same window

With this patch coverage report will be shown with the results when
tox -e cover will be run.

Change-Id: I96713a8dd5d82019631c9e48c1abd7a94e201569
This commit is contained in:
ting.wang 2016-02-24 10:44:06 +08:00
parent 58be3bcf79
commit 3e08590600
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ passenv = OS_*
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
commands =
python setup.py test --coverage --testr-args='{posargs}'
coverage report
[testenv:debug]
commands = oslo_debug_helper -t openstackclient/tests {posargs}