From eab8c8aa63bbd08b3e246bb9f41bf12f6eafc4c6 Mon Sep 17 00:00:00 2001 From: Yuiko Takada Date: Mon, 15 Jun 2015 10:03:21 +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. See: https://review.openstack.org/#/c/189569 Closes-Bug: #1465086 Change-Id: I76727e598ebb77dc146370b576d6992db3ca1ec9 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 7369782070..a4d78ea85b 100644 --- a/tox.ini +++ b/tox.ini @@ -11,6 +11,7 @@ setenv = deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:functional] sitepackages = True