From 266f60afb9a3652e9738690ba4da663c563cea55 Mon Sep 17 00:00:00 2001 From: Ghanshyam Date: Fri, 11 Dec 2015 09:01:16 +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. Closes-Bug: #1525115 Change-Id: I55df46e2359b7a71b0605e80cd0a6ca4edd95c0c --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 4fab6b6..cacc2d9 100644 --- a/tox.ini +++ b/tox.ini @@ -7,6 +7,7 @@ envlist = py26,py27,pep8 usedevelop = True install_command = pip install --allow-external -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 =