summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest/opnfv_tests/openstack/tempest/conf_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py
index 338fa51ca..bf1a193b6 100644
--- a/functest/opnfv_tests/openstack/tempest/conf_utils.py
+++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py
@@ -216,6 +216,8 @@ def configure_tempest_update_params(
rconfig.set('identity-feature-enabled', 'api_v2', False)
else:
auth_version = 'v2'
+ if env.get("NEW_USER_ROLE").lower() != "member":
+ rconfig.set('auth', 'tempest_roles', env.get("NEW_USER_ROLE"))
rconfig.set('identity', 'auth_version', auth_version)
rconfig.set(
'validation', 'ssh_timeout',