tox.ini: Fix cover target

Sync with networking-midonet.

Closes-Bug: #1708337
Change-Id: I9a25de699a551dccc293a5149db09fcd26e05994
This commit is contained in:
YAMAMOTO Takashi 2017-08-03 12:26:02 +09:00
parent 33b116ee7e
commit 7b02840644
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[run]
branch = True
source = neutron_taas
omit = neutron_taas/openstack/*
omit = neutron_taas/tests/*
[report]
ignore_errors = True

View File

@ -30,8 +30,9 @@ commands =
commands = {posargs}
[testenv:cover]
basepython = python2.7
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