configure tox to allow OS_TEST_TIMEOUT env var to pass through

By default tox does not pass environment variables to the processes it
runs. Add OS_TEST_TIMEOUT to the whitelist so that a developer running
the tests locally can update the timeout for the database tests that run
on a slow box.

Change-Id: I1300c0d8c0b8a0d5011fc5d2ac028f3ab2527593
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2016-11-07 10:41:12 -05:00
parent 79024e76b3
commit 6453df36cd
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
passenv = OS_TEST_TIMEOUT
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = bash tools/pretty_tox.sh '{posargs}'