Pass OS_*_CAPTURE env variables
The unit tests look for the OS_STDOUT_CAPTURE, OS_STDERR_CAPTURE, and OS_LOG_CAPTURE environment variable values, but these are not being passed down through tox. We have to explicitly allow them with the use of the passenv tox.ini variable. Change-Id: Ib33cb3b024ac9d61b590771071050177370956d1
This commit is contained in:
parent
fef7894c1b
commit
6b18481359
2
tox.ini
2
tox.ini
@ -9,7 +9,7 @@ setenv = STATSD_HOST=127.0.0.1
|
||||
STATSD_PORT=8125
|
||||
VIRTUAL_ENV={envdir}
|
||||
OS_TEST_TIMEOUT=30
|
||||
passenv = ZUUL_TEST_ROOT
|
||||
passenv = ZUUL_TEST_ROOT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE
|
||||
usedevelop = True
|
||||
install_command = pip install {opts} {packages}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user