diff options
author | Trevor McKay <tmckay@redhat.com> | 2015-06-11 10:19:06 -0400 |
---|---|---|
committer | Trevor McKay <tmckay@redhat.com> | 2015-06-11 12:07:42 -0400 |
commit | 26cf2237fc27f98bd05eaf4648acfdb36d685ff1 (patch) | |
tree | 1b4c174abb74db13e7bf9a72b20a2bee8b059b6a /tox.ini | |
parent | 963d8ce6bbdfa151defe6702c8d0c31300607c03 (diff) | |
download | python-saharaclient-26cf2237fc27f98bd05eaf4648acfdb36d685ff1.tar.gz |
Pass OpenStack environment variables to client tests
tox 2 does not pass the environment by default, this is
a change from tox 1.6. Instead, environment variables
may be passed by means of the "passenv" variable in
tox.ini. This mechanism supports globbing, so "OS_*"
can be used to set the necessary environment variables
for the python-saharaclient.
Change-Id: Ibe9055dd4d4bc1a243db5198a9e5e35e5f93f628
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ setenv = commands = bash tools/pretty_tox.sh "{posargs}" [testenv:functional] +passenv = OS_* setenv = VIRTUAL_ENV={envdir} DISCOVER_DIRECTORY=saharaclient/tests/functional/ |