diff --git a/tox.ini b/tox.ini index 9d2df7deebdc..8062febe6a75 100644 --- a/tox.ini +++ b/tox.ini @@ -7,10 +7,13 @@ skipsdist = True sitepackages = True usedevelop = True install_command = pip install -U {opts} {packages} +# Note the hash seed is set to 0 until nova can be tested with a +# random hash seed successfully. setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=C + PYTHONHASHSEED=0 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = @@ -28,13 +31,11 @@ commands = {toxinidir}/tools/config/check_uptodate.sh [testenv:pylint] -setenv = VIRTUAL_ENV={envdir} commands = bash tools/lintstack.sh [testenv:cover] # Also do not run test_coverage_ext tests while gathering coverage as those # tests conflict with coverage. -setenv = VIRTUAL_ENV={envdir} commands = python tools/patch_tox_venv.py python setup.py testr --coverage \