Fix inconsistent environment for stestr test path

OS_TEST_PATH is commonly used, instead of TEST_PATH. Also we don't
have explicitly define the same default value.

Change-Id: I584f87e6a839702c1334527b6bcaaa7fa48c95d3
This commit is contained in:
Takashi Kajinami 2025-02-16 01:06:16 +09:00
parent 6cd8444033
commit f56522b7ba
2 changed files with 1 additions and 2 deletions

View File

@ -1,3 +1,3 @@
[DEFAULT]
test_path=${TEST_PATH:-./heat/tests}
test_path=${OS_TEST_PATH:-./heat/tests}
top_dir=./

View File

@ -6,7 +6,6 @@ minversion = 3.18.0
[testenv]
basepython = python3
setenv =
OS_TEST_PATH=heat/tests
PYTHONDONTWRITEBYTECODE=1
usedevelop = True
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}