Fix tox -e cover in kuryr-libnetwork

Change-Id: I175a5d3d8190a278aa82b659c65de63dbf8dbdc2
Closes-bug: #1628843
changes/56/379556/2
Liping Mao 6 years ago
parent 1ec056787f
commit 5485c247d4
  1. 2
      .coveragerc
  2. 5
      tox.ini

@ -1,4 +1,6 @@
[run]
branch = True
source = kuryr_libnetwork
omit = kuryr_libnetwork/tests/*
[report]

@ -41,8 +41,9 @@ commands = flake8
commands = {posargs}
[testenv:cover]
commands =
python setup.py testr --coverage --testr-args='{posargs}'
commands =
python setup.py test --coverage --testr-args='{posargs}' \
--coverage-package-name=kuryr_libnetwork
coverage report
[testenv:docs]

Loading…
Cancel
Save