summaryrefslogtreecommitdiff
path: root/functional_creds.conf.sample
diff options
context:
space:
mode:
authorAdrien Vergé <adrienverge@gmail.com>2015-05-18 15:09:58 +0200
committerAdrien Vergé <adrienverge@gmail.com>2015-05-18 15:09:58 +0200
commitdec3d0837105637a9a9312f42dc9b7bcbbe8cc39 (patch)
treed914f448c5fe4fb3fa209d6dcda1ac450f6e09aa /functional_creds.conf.sample
parentf098b02564344c5b4e7a33fb664f5fb98313bc96 (diff)
downloadpython-cinderclient-dec3d0837105637a9a9312f42dc9b7bcbbe8cc39.tar.gz
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: I2ec1df481aba7a3866fc8dbc912311de02c22d11 Related-Bug: #1455102
Diffstat (limited to 'functional_creds.conf.sample')
-rw-r--r--functional_creds.conf.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/functional_creds.conf.sample b/functional_creds.conf.sample
new file mode 100644
index 0000000..081a736
--- /dev/null
+++ b/functional_creds.conf.sample
@@ -0,0 +1,8 @@
+# Credentials for functional testing
+[auth]
+uri = http://10.42.0.50:5000/v2.0
+
+[admin]
+user = admin
+tenant = admin
+pass = secrete