aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/env.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-20 10:45:20 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-20 11:20:58 +0200
commit51f3e7a3cc4409fb9dda03bffa1252a8660f38b0 (patch)
treeec03a206710003bc15bf9f665eaf4e5d8cb07211 /functest/utils/env.py
parent5bd8c86c423e59c7a24b15b9855f9e04ba8500c5 (diff)
Allow overriding the default role
It allows testing controllers which implements other RBAC policies. Defining NEW_USER_ROLE=admin will easily raise side effects for orchestrators such as Juju and Cloudify. Change-Id: Ia78a25381aeb8aa81fd1872661629e1c08432b8f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/utils/env.py')
-rw-r--r--functest/utils/env.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/utils/env.py b/functest/utils/env.py
index cba935ab8..5f414f1f4 100644
--- a/functest/utils/env.py
+++ b/functest/utils/env.py
@@ -32,7 +32,8 @@ INPUTS = {
'ENERGY_RECORDER_API_USER': env.INPUTS['ENERGY_RECORDER_API_USER'],
'ENERGY_RECORDER_API_PASSWORD': env.INPUTS['ENERGY_RECORDER_API_PASSWORD'],
'VOLUME_DEVICE_NAME': 'vdb',
- 'NAMESERVER': '8.8.8.8'
+ 'NAMESERVER': '8.8.8.8',
+ 'NEW_USER_ROLE': 'Member'
}