Don't quote {posargs} in tox.ini

Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I0690c95e31b443ba2b842e7f72edd9c160723997
This commit is contained in:
98k 2018-10-09 20:59:20 +00:00
parent 7e11ca62c4
commit 7d434d4d75
1 changed files with 2 additions and 2 deletions

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)
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
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 =
PYTHON=coverage run --source $project --parallel-mode
commands =
stestr run '{posargs}'
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml