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:
David Shrewsbury 2016-06-01 11:41:03 -04:00
parent fef7894c1b
commit 6b18481359
1 changed files with 1 additions and 1 deletions

View File

@ -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