Enable random hash seeds
New tox and python3.3 set a random PYTHONHASHSEED value by default. We should support this in our unittests so that we do not have to override the PYTHONHASHSEED value and potentially let bugs into our projects. Change-Id: I4f62e4b4e079c8659f0974ad783d3c0837426920 Closes-Bug: #1348818
This commit is contained in:
parent
52b9c134a3
commit
53a7300103
1
tox.ini
1
tox.ini
@ -14,7 +14,6 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
# Note the hash seed is set to 0 until designate can be tested with a
|
# Note the hash seed is set to 0 until designate can be tested with a
|
||||||
# random hash seed successfully.
|
# random hash seed successfully.
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONHASHSEED=0
|
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
whitelist_externals = sh
|
whitelist_externals = sh
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user