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:
Yushiro FURUKAWA 2016-04-13 06:50:56 +09:00
parent 9f95c43f97
commit 06e9b13577
1 changed files with 1 additions and 1 deletions

View File

@ -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/