correct tox.ini for coverage
using testr will end up in issue while running tox -e cover and may not work as desired. this patch will replace it with test as its done in neutron_vpnaas [1]. [1]. https://github.com/openstack/neutron-vpnaas/blob/master/tox.ini#L113 Change-Id: If2c10efcda6564daaeba1e8be8cf883a43277662
This commit is contained in:
parent
a8c9ff6a53
commit
761b977dbf
3
tox.ini
3
tox.ini
|
@ -35,7 +35,8 @@ commands = python ./tools/check_i18n.py ./neutron_lbaas ./tools/i18n_cfg.py
|
|||
# TODO(ihrachys): remove once infra supports constraints for this target
|
||||
install_command = {toxinidir}/tools/tox_install.sh unconstrained {opts} {packages}
|
||||
commands =
|
||||
python setup.py testr --coverage --coverage-package-name=neutron_lbaas --testr-args='{posargs}'
|
||||
python setup.py test --coverage --coverage-package-name=neutron_lbaas --testr-args='{posargs}'
|
||||
coverage report
|
||||
|
||||
[testenv:venv]
|
||||
# TODO(ihrachys): remove once infra supports constraints for this target
|
||||
|
|
Loading…
Reference in New Issue