Fix coverage option and execution
--coverage-package-name option was no longer supported by 'testr'[1]. This commit replaces from 'testr' to 'test' as coverage option. [1] https://review.openstack.org/#/c/217847/ Change-Id: Ibb5c178ccd9063f94fc3b3fac4d395494c3539b3
This commit is contained in:
parent
9f95c43f97
commit
06e9b13577
2
tox.ini
2
tox.ini
|
@ -26,7 +26,7 @@ commands =
|
|||
flake8 {toxinidir}/openstack_health {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --coverage-package-name='openstack_health' --testr-args={posargs}
|
||||
commands = python setup.py test --coverage --coverage-package-name='openstack_health' --testr-args={posargs}
|
||||
|
||||
[flake8]
|
||||
# E125 is a won't fix until https://github.com/jcrocholl/pep8/issues/126 is resolved. For further detail see https://review.openstack.org/#/c/36788/
|
||||
|
|
Loading…
Reference in New Issue