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.
Closes-Bug: #1525115

Change-Id: If08711d5dc98e40c97dd851ad15d01764828902a
This commit is contained in:
Ghanshyam 2015-12-11 09:08:13 +09:00 committed by Ghanshyam Mann
parent 31b9df8149
commit 27a090ec31
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 = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs:packetary}'