From 78c87e5385ccff5d20a5e654b0466257b0e486f2 Mon Sep 17 00:00:00 2001 From: pradeepcsekar Date: Mon, 29 Feb 2016 09:37:21 -0800 Subject: [PATCH] Pass environment variables of proxy to tox When a development environment is under a proxy, tox fails even when the environment variables are set. This patch fixes the problem by passing them on to the env. Change-Id: I903a023918d48e4cd9625576522c4df7d118949b Closes-Bug: #1465086 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index d67ab083..5abf7a82 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,7 @@ commands = python setup.py testr --coverage --slowest --testr-args='{posargs}' coverage combine coverage report -m coverage erase +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:linters] usedevelop = False