Fix 'No data to report' error

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

Change-Id: Ib9539f845aad29269a9cb07db719b22e35f7bbeb
Closes-Bug: #1613256
This commit is contained in:
Takashi NATSUME
2016-08-16 13:23:18 +09:00
parent 097e07c6da
commit d177395e75

View File

@@ -60,10 +60,7 @@ commands = oslopolicy-sample-generator --config-file=etc/nova/nova-policy-genera
# tests conflict with coverage. # tests conflict with coverage.
commands = commands =
coverage erase coverage erase
python setup.py testr --coverage \ python setup.py testr --coverage --testr-args='{posargs}'
--testr-args='{posargs}'
coverage combine
coverage html --include='nova/*' -d covhtml -i
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}