New issue 125: add a {randomseed} substitution string
https://bitbucket.org/hpk42/tox/issue/125/add-a-randomseed-substitution-string

Chris Jerdonek:

It would be nice to expose a special substitution string called something like 
{randomseed} that would generate a random integer value each time it is used.  
This would be useful for example in cases like this:

    setenv =
        PYTHONHASHSEED = {randomseed}

An associated command-line option `--randomseed` to force it to a particular
value would also be good.  See this [e-mail 
thread](http://lists.idyll.org/pipermail/testing-in-python/2013-September/005679.html)
 for background.

Note that to be consistent with supporting `--randomseed`, {randomseed} should 
probably yield the same value every time it is used (e.g. if it appears more 
than once in tox.ini).  In other words, it is a global value established once 
when tox is invoked.


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

Reply via email to