summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Toscano <ltoscano@redhat.com>2018-07-13 11:36:31 +0000
committerLuigi Toscano <ltoscano@redhat.com>2018-07-13 11:36:31 +0000
commit00448606a74d0fa9ce77bbd74352617f71b907b6 (patch)
tree3cc770f5cc6edfe46e3494cb0a8346d659f651f1
parent02e159e422aa1252b46062f342473fc6255d7b3f (diff)
downloadpython-saharaclient-00448606a74d0fa9ce77bbd74352617f71b907b6.tar.gz
Revert "Fix the cover tox target (switch to stestr)"
This reverts commit 02e159e422aa1252b46062f342473fc6255d7b3f. Change-Id: I9e5f068a2aac4f4af18e4db8f24324e12e1eda29
-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