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: I60b149809335555d8375f0f128d5bd9b11dc86ea
Closes-bug: #1524824
This commit is contained in:
hparekh 2015-12-10 09:20:00 +09:00 committed by hardik
parent fceb699dbf
commit d645a9daca
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt