diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2013-09-15 10:20:13 -0700 |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2013-09-15 10:20:13 -0700 |
commit | 42a612f41c2d80d6b0eebef655429e5f876fcd8c (patch) | |
tree | 1daa4ee5d30bee829135b7432fea3b78ca109a06 | |
parent | 42388785e022a77b01aab93334b0acb402b781d7 (diff) | |
download | pystache-42a612f41c2d80d6b0eebef655429e5f876fcd8c.tar.gz |
Set PYTHONHASHSEED to "random" when running tox.
-rw-r--r-- | HISTORY.md | 1 | ||||
-rw-r--r-- | tox.ini | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -10,6 +10,7 @@ History to the test output. - Added `test_pystache.sh` wrapper script for testing different PYTHONHASHSEED values. +- Set PYTHONHASHSEED to "random" when running tox. - Bugfix: fixed a flaky doctest by making `repr()` deterministic for the `Attachable` class in `pystache.tests.common` @@ -14,6 +14,11 @@ changedir = {envbindir} commands = pystache-test {toxinidir} +setenv = + # TODO: pass in an explicit random value so that we can display the + # value when running tests. We can probably do this by having tox + # call a wrapper shell script. + PYTHONHASHSEED = random # Check that the spec tests work with PyYAML. [testenv:py27-yaml] |