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: Idd0dd8b137f6cbf22cbb706645488271b0e5cee5
This commit is contained in:
Nguyen Van Trung 2018-10-09 10:01:15 +07:00
parent eae4d8ffda
commit e544997f31
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ commands = /bin/rm -f .testrepository/times.dbm
basepython = python2.7
setenv = OS_TEST_PATH=./dragonflow/tests/fullstack
commands =
ostestr --serial '{posargs}'
ostestr --serial {posargs}
[testenv:pep8]
basepython = python3
@ -44,7 +44,7 @@ basepython = python3
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