Browse Source

tox.ini: Fix cover target

Sync with networking-midonet.

Closes-Bug: #1708337
Change-Id: I9a25de699a551dccc293a5149db09fcd26e05994
changes/09/490309/2
YAMAMOTO Takashi 4 years ago
parent
commit
7b02840644
  1. 2
      .coveragerc
  2. 3
      tox.ini

2
.coveragerc

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

3
tox.ini

@ -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

Loading…
Cancel
Save