diff --git a/tox.ini b/tox.ini index 12eb0a22..f95fe8ef 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}