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:
parent
c91f67f493
commit
92e4b47661
3
tox.ini
3
tox.ini
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user