From 7a08be7d88b78b2ab3b605bd78031ef9ebcc6390 Mon Sep 17 00:00:00 2001 From: hparekh Date: Tue, 8 Dec 2015 10:51:37 +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: I65b2d9dbc7fbd883a7c90858bb08056da9d5a14f --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 58ce1d83d..a28fb75cd 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,7 @@ usedevelop = True install_command = pip install -U --force-reinstall {opts} {packages} setenv = VIRTUAL_ENV={envdir} PYTHONDONTWRITEBYTECODE = 1 +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY deps = -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}'