Pass environment variables of proxy to tox

When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.

This patch fixes this problem.

Change-Id: I2625f9689d72ea68f8daa1b5e442a75b50fbfa52
Closes-bug: #1524824
This commit is contained in:
hparekh 2015-12-10 09:17:15 +09:00 committed by Kirill Zaitsev
parent c9949c8fb3
commit 956314717d

View File

@ -9,6 +9,7 @@ install_command = pip install -U {opts} {packages}
setenv = setenv =
VIRTUAL_ENV={envdir} VIRTUAL_ENV={envdir}
DISCOVER_DIRECTORY=murano/tests/unit DISCOVER_DIRECTORY=murano/tests/unit
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = bash tools/pretty_tox.sh '{posargs}' commands = bash tools/pretty_tox.sh '{posargs}'