Fix passenv for tox4

Space seperated list for passenv is no longer acceptable in tox4. This
change fixes the formatting of the passenv list as per this new
standard.

Change-Id: Iec6683ef865b74f86eae34f2bb969b8384ccfbca
This commit is contained in:
Brendan Shephard 2023-02-20 09:53:30 +10:00 committed by Takashi Kajinami
parent 703bdbe56f
commit 2becf4b0f1

16
tox.ini
View File

@ -8,12 +8,18 @@ skipsdist = True
basepython = python3 basepython = python3
usedevelop = True usedevelop = True
setenv = setenv =
PYTHONWARNINGS=default::DeprecationWarning PYTHONWARNINGS=default::DeprecationWarning
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY passenv =
http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY
no_proxy
NO_PROXY
deps = deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}' commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8] [testenv:pep8]