summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorRonald Bradford <ronald.bradford@gmail.com>2015-10-01 09:36:28 -0400
committerRonald Bradford <ronald.bradford@gmail.com>2015-10-09 16:11:45 -0400
commit5e677dc2322618dc9b4ac7683b24f91e4e7f5ce2 (patch)
treef695ed07acf9f83dc31b62bce8fa2e66bf59b2c2 /tox.ini
parenta90dacb9a81497b6d6e1e65507f9c5916da167cf (diff)
downloadoslo-context-0.8.0.tar.gz
Fix coverage configuration and execution0.8.0
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: I74d2af73a57ba72631e5eea3ace3275c0b349352
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 1373a5b..cb1cf4b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,7 +26,7 @@ commands = {posargs}
commands = python setup.py build_sphinx
[testenv:cover]
-commands = python setup.py testr --coverage --testr-args='{posargs}'
+commands = python setup.py test --coverage --coverage-package-name=oslo_context --testr-args='{posargs}'
[flake8]
# H803 skipped on purpose per list discussion.