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: I0430fd696752c1cd8e33bb2d146e08e442ebc3f8
This commit is contained in:
Yushiro FURUKAWA 2016-04-13 06:58:00 +09:00
parent 9a6f4c9653
commit 6e908db6df
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ commands = flake8
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --coverage-package-name='os_testr' --testr-args='{posargs}'
commands = python setup.py test --coverage --coverage-package-name='os_testr' --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx