Fix small oversight in Python PTI for tests
In the recent change to define an explicit PTI for python testing I made a small mistake in the tox entry. This is due to me being lazy and just copy and pasting what I setup for Nova's tox.ini into my governance change. melwitt recently pointed out that the use of single quotes there prevents '--' parameters from being interpreted correctly in some cases (mainly those with spaces). This is because using the quotes around {posargs} in the tox.ini means the parameters are getting treated as a single string. This has been fixed in Nova with change I512a517fa6890b29de24060376b4d7e061dc3add and to make sure this mistake gets fixed everywhere this commit mirrors that in the PTI document. Change-Id: I906f643b2714637343a5f9ce2995e7e57c7586bb
This commit is contained in:
parent
759c42b10c
commit
b1d14e874d
|
@ -84,7 +84,7 @@ Using these precludes the use of alternative runners for other users.
|
|||
To have a consistent interface via tox between projects' unit test
|
||||
jobs the command for running stestr in tox should be set to::
|
||||
|
||||
stestr run '{posargs}'
|
||||
stestr run {posargs}
|
||||
|
||||
.. note::
|
||||
While the use of wrapper scripts can sometimes be useful as a short term
|
||||
|
|
Loading…
Reference in New Issue