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 fixes this problem.
Closes-Bug: #1525115

Change-Id: I9a870f21a1eef9983f1988d10c32366085ff88c6
This commit is contained in:
Ghanshyam 2015-12-11 08:55:59 +09:00 committed by Ghanshyam Mann
parent 06f71a8402
commit e15d35e022
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ skipsdist = True
[testenv]
usedevelop = True
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/test-requirements.txt
commands =
py.test -vv {posargs:devops/tests}