Fix tox cover to not fail

This changes the run of tox with cover, to just ammend cover
output data.... the combine option seemed to be breaking the data
and then the xml / html options did not work as a result.

Change-Id: Ic600b55855cf74c1b6ed138fea5c4b7bb037de82
Closes-bug: #1628661
This commit is contained in:
eric 2016-09-28 14:58:48 -06:00 committed by Eric Peterson
parent 9935d46ea6
commit f23b7d1fd1
1 changed files with 1 additions and 2 deletions

View File

@ -103,8 +103,7 @@ commands = {envpython} {toxinidir}/manage.py {posargs}
commands =
coverage erase
coverage run {toxinidir}/manage.py test horizon --settings=horizon.test.settings {posargs}
coverage run {toxinidir}/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings --exclude-dir=openstack_dashboard/test/integration_tests {posargs}
coverage combine
coverage run -a {toxinidir}/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings --exclude-dir=openstack_dashboard/test/integration_tests {posargs}
coverage xml
coverage html