From d645a9dacaf055b3a1fb58998f9cf2fe133abc8a Mon Sep 17 00:00:00 2001 From: hparekh Date: Thu, 10 Dec 2015 09:20:00 +0900 Subject: [PATCH] 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 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 23b9b928..9c6aaf31 100644 --- a/tox.ini +++ b/tox.ini @@ -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