summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAlistair Coles <alistair.coles@hp.com>2015-06-03 17:39:15 +0100
committerAlistair Coles <alistair.coles@hp.com>2015-06-03 17:45:14 +0100
commit259b434ae25e894e66f6561c5bbc3f34603f8fab (patch)
treec66b2c40d4176314acf5b603a2b28d3daf0f4e4b /tox.ini
parent49483a3b111e55405f7e522a8896225aad8473ac (diff)
downloadpython-swiftclient-259b434ae25e894e66f6561c5bbc3f34603f8fab.tar.gz
Add passenv to tox.ini to make functests run with tempauth
Since tox version 2.0.0 env vars are not passed to the test env, which means that the SWIFT_TEST_CONFIG_FILE var is not passed in to tox -e func env. That means that both times tox -e func runs it is using keystone auth, and never using tempauth. Related-Bug: 1455102 Co-Authored-By: Christian Schwede <cschwede@redhat.com> Change-Id: I23dcdbcde0bf8adc9429eb2d294a2c778005d136
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 94a9820..10377cc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,6 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args="{posargs}"
+passenv = SWIFT_* *_proxy
[testenv:pep8]
commands =