tox.ini: Fix cover target
Sync with networking-midonet. Closes-Bug: #1708337 Change-Id: I9a25de699a551dccc293a5149db09fcd26e05994
This commit is contained in:
parent
33b116ee7e
commit
7b02840644
@ -1,7 +1,7 @@
|
|||||||
[run]
|
[run]
|
||||||
branch = True
|
branch = True
|
||||||
source = neutron_taas
|
source = neutron_taas
|
||||||
omit = neutron_taas/openstack/*
|
omit = neutron_taas/tests/*
|
||||||
|
|
||||||
[report]
|
[report]
|
||||||
ignore_errors = True
|
ignore_errors = True
|
||||||
|
3
tox.ini
3
tox.ini
@ -30,8 +30,9 @@ commands =
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
python setup.py testr --coverage --coverage-package-name=neutron_taas --testr-args='{posargs}'
|
python setup.py test --coverage --coverage-package-name=neutron_taas --testr-args='{posargs}'
|
||||||
coverage report
|
coverage report
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user