Enable tests coverage report when run tox -ecover

Change-Id: I2fa3fcb697d0249e455dcc6b73973f2ab2b5758c
This commit is contained in:
liusheng 2017-01-04 09:43:29 +08:00
parent b3ff846a92
commit 7b41782283
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ install_command = {[testenv:common-constraints]install_command}
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
commands =
python setup.py test --coverage --testr-args='{posargs}'
coverage report
[testenv:cover-constraints]
install_command = {[testenv:common-constraints]install_command}