tox.ini: use a pytest --basetemp with spaces

This catches quoting bugs that were just fixed by removing shlex in the
previous commit.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2024-08-28 19:08:47 +00:00
parent 94f8a04ac8
commit 06a3b50dd6
1 changed files with 4 additions and 3 deletions

View File

@ -34,8 +34,9 @@ deps =
flake8 flake8
mypy mypy
setenv = setenv =
# For instance: ./.tox/py3/tmp/
TOXTEMPDIR={envtmpdir} TOXTEMPDIR={envtmpdir}
commands = commands =
python -m pytest --cov=west {posargs:tests} python -m pytest --cov=west {posargs:tests} --basetemp='{envtmpdir}/pytest with space/'
python -m flake8 --config={toxinidir}/tox.ini {toxinidir} python -m flake8 --config='{toxinidir}'/tox.ini '{toxinidir}'
python -m mypy --config-file={toxinidir}/tox.ini --package=west python -m mypy --config-file='{toxinidir}'/tox.ini --package=west