From abc019829f66c407dd620f4fa04bbac71bade049 Mon Sep 17 00:00:00 2001 From: Kien Nguyen Date: Sun, 25 Jun 2017 18:36:45 +0700 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. Refer patch set [1] [1] https://review.openstack.org/#/c/189569 Change-Id: I6c0b896a6de1b7193dd4b77b6bc4433d0c75732d --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 907c2a008..60fac5c66 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,7 @@ commands = rm -f .testrepository/times.dbm find . -type f -name "*.py[c|o]" -delete ostestr --concurrency=6 {posargs} +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:pep8] commands =