From cfd59d44dbe95c1639302412f7c36c8dfebcb132 Mon Sep 17 00:00:00 2001 From: "sonu.kumar" Date: Fri, 4 Dec 2015 10:41:03 +0530 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 fix this problem. Change-Id: I25eb1d42ca0e3e3d8a028c22799da383ececcac5 Closes-Bug: #1465086 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index cb5decfc..0fcf23e8 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,7 @@ whitelist_externals = sh commands = find . -type f -name "*.pyc" -delete sh tools/pretty_tox.sh '{posargs}' +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:docs] commands = python setup.py build_sphinx -E