From 152bf3f33b378179bbf5612eb6d823b6f9234209 Mon Sep 17 00:00:00 2001 From: Ghanshyam Date: Thu, 3 Dec 2015 20:19:06 +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 problem has been solved on Tempest already. This patch fixes this problem. Change-Id: Ic0be1f8d6757ea57d8d12e463c467e83d7195794 Closes-Bug: #1465086 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index eb4146f..3cc838e 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,7 @@ setenv = deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = ostestr {posargs} +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:pep8] commands = flake8