tox.ini: run py.test without any option when using posargs (#70164)

This commit is contained in:
Benjamin Dauvergne 2022-10-12 14:13:33 +02:00
parent 2f7db76ffd
commit 5c250891aa
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ deps =
pyzbar
bleach
commands =
py.test -v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} --dist loadfile --junitxml=junit-{envname}.xml {posargs:tests/}
py.test {posargs:-v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} --dist loadfile --junitxml=junit-{envname}.xml tests/}
codestyle: pre-commit run --all-files --show-diff-on-failure
[testenv:pylint]