Fix 'No data to report' error in coverage.

Remove unnecessary commands in 'testenv:cover' of tox.ini.
HTML coverage reports can be generated in 'cover' directory by
'python setup.py testr --coverage' only.

Change-Id: I6bc205c4a7772a11cd3dc911a52097e62444376f
Closes-Bug: #1651029
This commit is contained in:
dharmendra 2016-12-19 11:01:29 +05:30 committed by dharmendra kushwaha
parent c91f67f493
commit 92e4b47661
1 changed files with 1 additions and 2 deletions

View File

@ -76,8 +76,7 @@ commands =
commands =
coverage erase
python setup.py testr --coverage --testr-args='{posargs}'
coverage combine
coverage html --include='tacker/*' -d covhtml -i
coverage report
[testenv:venv]
commands = {posargs}