Substitution access current env name

Issue #173 on hold
Michael Mercier created an issue

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

Comments (3)

  1. Log in to comment