VPNaaS: Enable coverage tests
Since the repo split, the coverage test was not operational. This commit modifies the setup to enable coverage to correctly run. Change-Id: Iaf4b9e334010dc83c09f9b30cda2af68a02cac4c Paritally-Implements: blueprint services-split
This commit is contained in:
parent
886f096246
commit
77e46dd71e
@ -1,7 +1,7 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = neutron
|
||||
omit = neutron/tests/*,neutron/plugins/cisco/test/*,neutron/openstack/*
|
||||
source = neutron_vpnaas
|
||||
# omit = neutron_vpnaas/tests/*
|
||||
|
||||
[report]
|
||||
ignore-errors = True
|
||||
|
2
tox.ini
2
tox.ini
@ -56,7 +56,7 @@ commands = python ./tools/check_i18n.py ./neutron-vpnaas ./tools/i18n_cfg.py
|
||||
|
||||
[testenv:cover]
|
||||
commands =
|
||||
lockutils-wrapper python setup.py testr --coverage --testr-args='{posargs}'
|
||||
python setup.py testr --coverage --coverage-package-name=neutron_vpnaas --testr-args='{posargs}'
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
Loading…
x
Reference in New Issue
Block a user