With the recent update to tox 2.0.x, environment variables such as
OS_AUTH_URL are not passed by default, resulting in tests errors
mentionning Keystone authentication failures.
This patch reads credentials from the 'functional_creds.conf' config
file, like it is done in novaclient (and soon in glanceclient and
neutronclient).
Reading credentials the old way (the environment) is still possible.
Reviewed: https:/ /review. openstack. org/184048 /git.openstack. org/cgit/ openstack/ python- cinderclient/ commit/ ?id=dec3d083710 5637a9a9312f42d c9b7bcbbe8cc39
Committed: https:/
Submitter: Jenkins
Branch: master
commit dec3d0837105637 a9a9312f42dc9b7 bcbbe8cc39
Author: Adrien Vergé <email address hidden>
Date: Mon May 18 15:09:58 2015 +0200
Fix functional tests and tox 2.0 errors
With the recent update to tox 2.0.x, environment variables such as
OS_AUTH_URL are not passed by default, resulting in tests errors
mentionning Keystone authentication failures.
This patch reads credentials from the 'functional_ creds.conf' config
file, like it is done in novaclient (and soon in glanceclient and
neutronclient).
Reading credentials the old way (the environment) is still possible.
Change-Id: I2ec1df481aba7a 3866fc8dbc91231 1de02c22d11
Related-Bug: #1455102