Substitution access current env name

Issue #173 on hold
Michael Mercier created an issue


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:

envlist = py32, py34

commands =
    python install
    py.test -v --cov myproject > docs/source/pytest_{current_env}_report.txt

Comments (3)

  1. Log in to comment