Remove tests omission from coverage target in tox.ini
In coverage target in tox.ini, there is the following argument: --omit="watcher/tests/*" However, in .coveragerc, the tests are also omitted, according to line 4 in .coveragerc: omit = watcher/tests/* So the watcher/tests/* directory is omitted twice. As it can be seen in other modules (e.g.: swift, nova) omitting only in .coveragerc should be enough. Change-Id: I72951196a346fb73a90c998138fc91dd171432cd Closes-Bug: #1552617
This commit is contained in:
parent
78f122f241
commit
63fffeacd8
2
tox.ini
2
tox.ini
|
@ -26,7 +26,7 @@ setenv = PYTHONHASHSEED=0
|
|||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --omit="watcher/tests/*" --testr-args='{posargs}'
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[testenv:docs]
|
||||
setenv = PYTHONHASHSEED=0
|
||||
|
|
Loading…
Reference in New Issue