From c924c3f1a48e849aa2bcb6bbdfe6d7af53c66b36 Mon Sep 17 00:00:00 2001 From: Yuiko Takada Date: Mon, 15 Jun 2015 09:59:20 +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 fix this problem. Change-Id: I650019ae86e223d5e9c2d4a5b51b92377f3c471e --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index fab40b41eb..b310844cbd 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,7 @@ deps = -r{toxinidir}/requirements.txt whitelist_externals = bash commands = bash -c "TESTS_DIR=./ironic/tests/ python setup.py testr --slowest --testr-args='{posargs}'" +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [tox:jenkins] downloadcache = ~/cache/pip