New issue 173: Substitution access current env name
https://bitbucket.org/hpk42/tox/issue/173/substitution-access-current-env-name
Michael Mercier:
Hello,
I would like to access to the current env name in the conf file to make a
different report for each env. For example in {current_env} substitution
variable that gives "py32" or py"34". Here is the config file I would like to
use:
```
#!
[tox]
envlist = py32, py34
[testenv]
commands =
python setup.py install
py.test -v --cov myproject > docs/source/pytest_{current_env}_report.txt
```
_______________________________________________
pytest-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit