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:
Ha Manh Dong 2018-07-19 10:50:54 +07:00
parent 9b55db4bf0
commit a73fa351c8

View File

@ -46,7 +46,8 @@ commands =
[testenv:cover]
basepython = python3
setenv =
PYTHON=coverage run --source $project --parallel-mode
{[testenv]setenv}
PYTHON=coverage run --source mistral --parallel-mode
commands =
stestr run '{posargs}'
coverage combine