Fix tox environment for coverage test
It turned out that the 'coverage' test needs to include the unit test subdir, or else the coverage statistic is incorrect. Change-Id: I1b45fe9fdcd985365d367d6a0340c71f761d538b
This commit is contained in:
parent
2bd45c328c
commit
080c4264bf
2
tox.ini
2
tox.ini
@ -34,7 +34,7 @@ commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
commands = python setup.py testr --coverage --testr-args="^(?!senlin\.tests){posargs}"
|
||||
commands = python setup.py testr --coverage --testr-args="^(?!senlin\.tests\.functional){posargs}"
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
Loading…
Reference in New Issue
Block a user