From 501ec2cce2a2bfebd33e8cd60b8eb29e2213de77 Mon Sep 17 00:00:00 2001 From: eric Date: Wed, 28 Sep 2016 14:58:48 -0600 Subject: [PATCH] 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 (cherry picked from commit f23b7d1fd19fd5076b1a8a417d97872c1e0b7b5b) --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 32536ada76..d2225bdedd 100644 --- a/tox.ini +++ b/tox.ini @@ -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