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: Ia3b5e60cc66a9f274f03327ce031c65a12bf1529
This commit is contained in:
Nguyen Van Trung 2018-10-09 10:11:08 +07:00
parent be53aae4c2
commit dcd37739dc
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ whitelist_externals = sh
rm
commands = find {toxinidir} -type f -name "*.py[c|o]" -delete
rm -f .testrepository/times.dbm
stestr run '{posargs}'
stestr run {posargs}
[testenv:fullstack]
basepython = python2.7
@ -44,7 +44,7 @@ commands = {posargs}
basepython = python3
commands =
rm -f .testrepository/times.dbm
python setup.py test --coverage --testr-args='{posargs}' \
python setup.py test --coverage --testr-args={posargs} \
--coverage-package-name=kuryr_kubernetes
coverage report