[Pytest-commit] Issue #133: Reuse commands from another testenv is broken (hpk42/tox)
jenisys
issues-reply at bitbucket.org
Sun Oct 27 19:20:53 CET 2013
New issue 133: Reuse commands from another testenv is broken
https://bitbucket.org/hpk42/tox/issue/133/reuse-commands-from-another-testenv-is
jenisys:
VERSION-INFO: tox 1.6.1
Tox seems to allow that commands are reused from another testenv.
But this broken because a split lines action is missing. Commands are just copied as text (which works for "deps" but not for "commands").
Inspect it with "tox --showconfig" (notice: string w/ newlines) or run it to see the effect.
EXAMPLE:
```
# -- FILE: tox.ini (partial)
[testenv:base]
whitelist_commands = /bin/echo
commands =
/bin/echo BASE
tox --version
deps =
tox
[testenv:xxx]
whitelist_commands = /bin/echo
commands =
{[testenv:base]commands}
/bin/echo XXX
tox --version
deps =
{[testenv:base]deps}
```
More information about the pytest-commit
mailing list