summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorting.wang <ting.wang@easystack.cn>2016-02-24 10:44:06 +0800
committerting.wang <ting.wang@easystack.cn>2016-02-24 10:44:06 +0800
commit3e08590600249134636361b114ca51f3a7f647c8 (patch)
treea9c9be83215eaea8f500a80468f82555ef097d23 /tox.ini
parent58be3bcf790b3c6b20b44bb2ea286bf88f2da3fa (diff)
downloadpython-openstackclient-3e08590600249134636361b114ca51f3a7f647c8.tar.gz
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index cc1407f4..8add2fe3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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}