Merge "Set python hash seed to 0 in tox.ini" into stable/havana

This commit is contained in:
Jenkins 2014-08-23 16:43:04 +00:00 committed by Gerrit Code Review
commit 975fec9531
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,10 @@
envlist = py26,py27,pep8,contrib envlist = py26,py27,pep8,contrib
[testenv] [testenv]
# Note the hash seed is set to 0 until heat can be tested with a
# random hash seed successfully.
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = commands =
@ -26,7 +29,6 @@ commands =
commands = {posargs} commands = {posargs}
[testenv:cover] [testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands = commands =
python tools/patch_tox_venv.py python tools/patch_tox_venv.py
python setup.py testr --coverage python setup.py testr --coverage