New issue 99: Environment variable usage schema {env:XXX} is not working
https://bitbucket.org/hpk42/tox/issue/99/environment-variable-usage-schema-env-xxx

jenisys:

Version info: tox-1.4.3, tox-1.5.dev7 (current head/tip)

The documentation describes that environment variables can be used/referenced 
as shown above. But there seems to be a number of issues.

PROBLEMS:

  * Environment variables that are setup via "setenv= ..." can not be 
referenced in "commands= ..." part.
  * Option --showconfig does not evaluate "setenv= ..." parts in testenv 
section before the output is shown.

```
#!ini
[testenv:example]
commands=
    echo ENVIRONMENT-VAR foo: {env:foo}
    echo ENVIRONMENT-VAR bar: {env:bar}
setenv =
    foo = Alice
    bar = Bob
deps=
```

ADDITIONAL NOTE:
Current repository tip has a problem with {homedir} placeholder when 
``indexserver= local=file://{homedir}/.pip_downloads`` is used. This is working 
in box-1.4.3, but no longer working in tox-1.5.dev7.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
http://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to