Fix testenv cover in tox.ini
In [testenv:cover] section, the setenv need add the {[testenv]setenv} to inherit from the global setenv configuration, and also the $project shoud be replace to mistral. Change-Id: I0fd56730cc921da6d177eaa05070decf264a1f18
This commit is contained in:
parent
9b55db4bf0
commit
a73fa351c8
3
tox.ini
3
tox.ini
@ -46,7 +46,8 @@ commands =
|
|||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
setenv =
|
setenv =
|
||||||
PYTHON=coverage run --source $project --parallel-mode
|
{[testenv]setenv}
|
||||||
|
PYTHON=coverage run --source mistral --parallel-mode
|
||||||
commands =
|
commands =
|
||||||
stestr run '{posargs}'
|
stestr run '{posargs}'
|
||||||
coverage combine
|
coverage combine
|
||||||
|
Loading…
Reference in New Issue
Block a user