summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-13 14:14:19 +0000
committerGerrit Code Review <review@openstack.org>2018-07-13 14:14:19 +0000
commit549e82df57dd0cc33826abe61bc7e14a5592f726 (patch)
treee623288b406588bab7538a02d2231190ca2dfcad
parent448b1fdca1137dd36838f1082c54c66dc71d5971 (diff)
parent00448606a74d0fa9ce77bbd74352617f71b907b6 (diff)
downloadpython-saharaclient-549e82df57dd0cc33826abe61bc7e14a5592f726.tar.gz
Merge "Revert "Fix the cover tox target (switch to stestr)""
-rw-r--r--tox.ini12
1 files changed, 2 insertions, 10 deletions
diff --git a/tox.ini b/tox.ini
index 2470364..304c267 100644
--- a/tox.ini
+++ b/tox.ini
@@ -33,17 +33,9 @@ commands = oslo_debug_helper -t saharaclient/tests/unit {posargs}
[testenv:cover]
basepython = python3
-setenv =
- {[testenv]setenv}
- PYTHON=coverage run --source saharaclient --parallel-mode
commands =
- coverage erase
- find . -type f -name "*.pyc" -delete
- stestr run {posargs}
- coverage combine
- coverage html -d cover
- coverage xml -o cover/coverage.xml
- coverage report
+ python setup.py test --coverage --testr-args='{posargs}'
+ coverage report
[tox:jenkins]
sitepackages = False