From e544997f3196002d9fadc0a18d802c68405f393f Mon Sep 17 00:00:00 2001 From: Nguyen Van Trung Date: Tue, 9 Oct 2018 10:01:15 +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: Idd0dd8b137f6cbf22cbb706645488271b0e5cee5 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 5aba76d6e..022c080dc 100644 --- a/tox.ini +++ b/tox.ini @@ -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