From 9df4c8c868796d7682f2606ec6c15c77271cd742 Mon Sep 17 00:00:00 2001 From: Yuiko Takada Date: Mon, 15 Jun 2015 09:53: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: I24ca2f991832e5a0689c1051b60caf949d8225a1 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 4dce8900a..7c672851a 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,7 @@ commands = coverage run --branch --include "ironic_inspector_ramdisk*" -a -m unittest discover ironic_inspector_ramdisk.test coverage report -m --fail-under 90 setenv = PYTHONDONTWRITEBYTECODE=1 +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:pep8] basepython = python2.7