Fix tox -e cover in kuryr-libnetwork
Change-Id: I175a5d3d8190a278aa82b659c65de63dbf8dbdc2 Closes-bug: #1628843
This commit is contained in:
parent
1ec056787f
commit
5485c247d4
@ -1,4 +1,6 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = kuryr_libnetwork
|
||||
omit = kuryr_libnetwork/tests/*
|
||||
|
||||
[report]
|
||||
|
5
tox.ini
5
tox.ini
@ -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…
Reference in New Issue
Block a user