From 45238be4d69043a5f29ab17e052e52b94455baec Mon Sep 17 00:00:00 2001 From: chen-li Date: Wed, 13 Jan 2016 18:31:57 +0800 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 is a new feature above tox 2.0, you can check it from [1]. This patch fix this problem. [1]. https://tox.readthedocs.org/en/latest/example/basic.html#passing-down-environment-variables Change-Id: I9dae04de7053773cb5ba13a809145b86cb149614 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index faecce1d2..683eb5091 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} -passenv = TRACE_FAILONLY GENERATE_HASHES +passenv = TRACE_FAILONLY GENERATE_HASHES http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY usedevelop = True install_command = constraints: {[testenv:common-constraints]install_command} -- 2.45.2