Merge "Don't quote {posargs} in tox.ini"

This commit is contained in:
Zuul 2018-10-29 16:13:46 +00:00 committed by Gerrit Code Review
commit 8ab34a608f

View File

@ -97,7 +97,7 @@ If there are additional mandatory args needed for running a test suite they
can be added before the posargs. (this way the end user experience is the same) can be added before the posargs. (this way the end user experience is the same)
For example:: For example::
stestr --test-path ./tests/unit run '{posargs}' stestr --test-path ./tests/unit run {posargs}
However, these arguments should try to be minimized because it just adds to the However, these arguments should try to be minimized because it just adds to the
complexity that people will need to understand when running tests on a project. complexity that people will need to understand when running tests on a project.
@ -113,7 +113,7 @@ normal unit test jobs, but to switch the python executable to be
setenv = setenv =
PYTHON=coverage run --source $project --parallel-mode PYTHON=coverage run --source $project --parallel-mode
commands = commands =
stestr run '{posargs}' stestr run {posargs}
coverage combine coverage combine
coverage html -d cover coverage html -d cover
coverage xml -o cover/coverage.xml coverage xml -o cover/coverage.xml