summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2012-07-27 14:39:58 -0700
committerClark Boylan <clark.boylan@gmail.com>2012-07-27 14:39:58 -0700
commitd004b1a73a395379846464950153f7cc04cdc918 (patch)
treefeeea2e82475fb4de9c956cd9e57ccd3cbf153bd /tox.ini
parent1e744f162ece85f14120a16180ed0f83fe9f1e09 (diff)
downloadpython-glanceclient-d004b1a73a395379846464950153f7cc04cdc918.tar.gz
Fix coverage reporting test.
A change was committed that modified the glanceclient.common.__init__.py file that seems to conflict with the NOSE_WITH_COVERAGE environment variable. Run the coverage tests like novaclient and swiftclient to get around this problem. Change-Id: Id9a655a0207d3b16a619972ebaecc87387cf784e
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 12eb0a2..f95fe8e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,7 +17,7 @@ commands = nosetests {posargs}
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .
[testenv:cover]
-setenv = NOSE_WITH_COVERAGE=1
+commands = nosetests --cover-erase --cover-package=glanceclient --with-xcoverage
[testenv:venv]
commands = {posargs}