From daac8eb3cb689bc7ded215fea0f15738afc150b4 Mon Sep 17 00:00:00 2001 From: hparekh Date: Thu, 10 Dec 2015 09:39:32 +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. Change-Id: I79689d70d14239387f7ad9646eaf6cd2994ebcf7 Closes-bug: #1524824 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index c98a8d9..9968728 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ skipsdist = True [testenv] usedevelop = True setenv = VIRTUAL_ENV={envdir} +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}'