LBaaS: Enable coverage testing
After the advanced services split, the coverage testing is not working. This commit enables the testing. Change-Id: I656849844333d696a4a3e3a2e0147cfd11a64e47 Partially-Implements: blueprint services-split
This commit is contained in:
parent
51bc96cd3d
commit
9c6f3fae27
|
@ -1,7 +1,7 @@
|
|||
[run]
|
||||
branch = True
|
||||
source = neutron
|
||||
omit = neutron/tests/*,neutron/plugins/cisco/test/*,neutron/openstack/*
|
||||
source = neutron_lbaas
|
||||
# omit = neutron_lbaas/tests/*
|
||||
|
||||
[report]
|
||||
ignore-errors = True
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -56,7 +56,7 @@ commands = python ./tools/check_i18n.py ./neutron_lbaas ./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_lbaas --testr-args='{posargs}'
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
|
Loading…
Reference in New Issue