Skip to content

Commit 492143e

Browse files
Nguyen Van Trungaakarshg
authored andcommitted
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: If225be953bf78e9f52a3f41797b7746ac823e5cc
1 parent 6746c0c commit 492143e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ basepython = python3.6
5454
commands = pytest {posargs}
5555

5656
[testenv:cover]
57-
commands = python setup.py test --coverage --testr-args='{posargs}'
57+
commands = python setup.py test --coverage --testr-args={posargs}
5858

5959
[testenv:docs]
6060
commands = python setup.py build_sphinx

0 commit comments

Comments
 (0)