From d004b1a73a395379846464950153f7cc04cdc918 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 27 Jul 2012 14:39:58 -0700 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}