diff --git a/tox.ini b/tox.ini index e04fcb7ab..bac140528 100644 --- a/tox.ini +++ b/tox.ini @@ -29,7 +29,11 @@ commands = {toxinidir}/tools/pip-install-single-req.sh test-requirements.txt hac commands = {posargs} [testenv:cover] -commands = python setup.py testr --coverage --testr-args='^(?!congress\.tests\.haht\.test_congress_haht.*){posargs}' +commands = + coverage erase + find . -type f -name "*.pyc" -delete + python setup.py testr --coverage --testr-args='^(?!congress\.tests\.haht\.test_congress_haht.*){posargs}' + coverage report [testenv:debug] commands = oslo_debug_helper -t congress/tests {posargs}