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
This commit is contained in:
parent
15500b89be
commit
dd26d3d141
4
tox.ini
4
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user