From dcd37739dc9028b15b7873fcaf5f0532b7ed8e29 Mon Sep 17 00:00:00 2001 From: Nguyen Van Trung Date: Tue, 9 Oct 2018 10:11:08 +0700 Subject: [PATCH] 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 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index df16d11ce..ffba7f2ac 100644 --- a/tox.ini +++ b/tox.ini @@ -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