From 729301a224a8e3f870092595ca195ba7845054f2 Mon Sep 17 00:00:00 2001 From: "sonu.kumar" Date: Fri, 4 Dec 2015 10:49:54 +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 fixes this problem. Change-Id: I9bc55bd2ebb546c783df38751c2cb16dbffcb7a5 Closes-Bug: #1465086 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 0cdc37f..498c002 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,7 @@ whitelist_externals = find commands = find . -type f -name "*.pyc" -delete python setup.py testr --testr-args='{posargs}' +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [tox:jenkins] downloadcache = ~/cache/pip