[Pytest-commit] Issue #349: Cross-section value substitution does not work for passenv. (hpk42/tox)

Martin Pelikan issues-reply at bitbucket.org
Tue Jul 19 23:40:32 EDT 2016


New issue 349: Cross-section value substitution does not work for passenv.
https://bitbucket.org/hpk42/tox/issues/349/cross-section-value-substitution-does-not

Martin Pelikan:

This is a minimal snippet from a tox.ini, but should be sufficient to reproduce the issue.

```
#!config

[jenkins]
passenv = BUILD_URL

[testenv:my-jenkins-job]

passenv = {[jenkins]passenv}
```


```
#!sh

tox --showconfig | grep passenv
```

You would expect *BUILD_URL* to show up in the *passenv* value of that *testenv* section, but it does not. Doing the same thing with *deps* works. 




More information about the pytest-commit mailing list