summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorRonald Bradford <ronald.bradford@gmail.com>2015-10-01 10:07:21 -0400
committerRonald Bradford <ronald.bradford@gmail.com>2015-10-08 17:24:38 -0400
commit865f000842411e10c89ef046dc51756cbadd59f3 (patch)
tree6d29831dfad649aa0b7e7671d52349f3b8af4e7d /tox.ini
parentf79beeb23e127a2f18c6e4242a4d9a69ab34dcbe (diff)
downloadoslo-vmware-865f000842411e10c89ef046dc51756cbadd59f3.tar.gz
Fix coverage configuration and execution
A number of configuration errors prevent the successful creation of code coverage. This corrects the .coveragerc source/omit setup and the tox package name generation. http://lists.openstack.org/pipermail/openstack-dev/2015-October/076193.html Change-Id: Ife807248caa66472bb30027eef3e68aedb035e7d
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 403dc85..9b94a3f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,7 +26,7 @@ commands = python setup.py build_sphinx
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
- python setup.py testr --coverage
+ python setup.py test --coverage --coverage-package-name=oslo_vmware --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}