From a73fa351c8a249b73e54fe32600123d6050b491d Mon Sep 17 00:00:00 2001 From: Ha Manh Dong Date: Thu, 19 Jul 2018 10:50:54 +0700 Subject: [PATCH] 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 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3d514e1de..279808411 100644 --- a/tox.ini +++ b/tox.ini @@ -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