From 27a090ec31decc14322ad1945fc2a218f84e112f Mon Sep 17 00:00:00 2001 From: Ghanshyam Date: Fri, 11 Dec 2015 09:08:13 +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: If08711d5dc98e40c97dd851ad15d01764828902a --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index ebc1142..07bdb03 100644 --- a/tox.ini +++ b/tox.ini @@ -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}'