Reuse commands from another testenv is broken

Issue #133 on hold
jenisys created an issue

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}

Comments (4)

  1. Log in to comment