[TIP] Tox command line substitutions
offline at offby1.net
Wed Jan 5 07:48:05 PST 2011
I ran into an issue with tox command positional argument substitution
that I was going to look into fixing, but it turns out that at least
to some extent the issue is by design (at least, according to the unit
tests in tox).
Here's my own example, with expected behaviour:
command = nosetests -m '(?:^|[\\b_\\./-])(?:unit)?[Tt]est'
Tox substitutes this as:
nosetests -m '(?:^|POSARGS)(?:unit)?POSARGSest'
Obviously, this is undesirable.
More information about the testing-in-python