Enable Python hash seed randomization in tests

Unit tests should run with hash seed randomization
on, to ensure code is not introduced that relies on
ordered access of dicts, sets, etc.

Python 3.3 enables this at runtime by default.

Change-Id: Ia9831b9c8d91fc7de82a1d215b00b498d01d562f
This commit is contained in:
wangqi 2018-06-05 13:49:06 +00:00
parent 340b3aa82b
commit b7eeec7459
1 changed files with 0 additions and 1 deletions

View File

@ -8,7 +8,6 @@ skipsdist = True
# Note the hash seed is set to 0 until senlin can be tested with a
# random hash seed successfully.
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
OS_TEST_PATH=senlin/tests/unit
deps = -r{toxinidir}/test-requirements.txt