Fix tox -e cover in kuryr-libnetwork

Change-Id: I175a5d3d8190a278aa82b659c65de63dbf8dbdc2
Closes-bug: #1628843
This commit is contained in:
Liping Mao 2016-09-29 23:53:27 +08:00
parent 1ec056787f
commit 5485c247d4
2 changed files with 5 additions and 2 deletions

View File

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

View File

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