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
This commit is contained in:
Clark Boylan
2012-07-27 14:39:58 -07:00
parent 1e744f162e
commit d004b1a73a

View File

@@ -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}