From dd26d3d14139dedc97397639117f56970940b500 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Wed, 26 Jul 2017 11:03:13 +0200 Subject: [PATCH] do not pass proxy env variables by tox In an environment where http_proxy env variable is needed to buil a proper python virtualenv the functional test fails with: RuntimeError: http_proxy or https_proxy set in environment, please unset This patch removes passing proxy env varibles in tox.ini to avoid this error. Change-Id: Ia4d8fe952aecb5c3e688878ef0fdafd6fac4fc7a Closes-Bug: #1706545 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 937b93db65c5..616b90c49b81 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 2.0 +minversion = 2.1 envlist = py{35,27},functional,pep8,pip-missing-reqs skipsdist = True @@ -19,7 +19,7 @@ deps = -r{toxinidir}/test-requirements.txt commands = find . -type f -name "*.pyc" -delete rm -Rf .testrepository/times.dbm -passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_DEBUG GENERATE_HASHES +passenv = OS_DEBUG GENERATE_HASHES # there is also secret magic in subunit-trace which lets you run in a fail only # mode. To do this define the TRACE_FAILONLY environmental variable.