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:
2
tox.ini
2
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}
|
||||
|
||||
Reference in New Issue
Block a user