summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Pisarski <s.pisarski@cablelabs.com>2017-08-24 13:51:49 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-24 13:51:49 +0000
commite30c681e1048057e9830a759d7c3cd119830ad5d (patch)
tree41638af71804caa282ce47663b466ee124a212c7
parent3715c30ef47a18ebf8243038c9e9390cf0b6c2d6 (diff)
parentff33255c53787b12a65db2db163c68247a5f5ae8 (diff)
Merge "Grant the new user to os_creds.project_name"
-rw-r--r--snaps/openstack/tests/create_user_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/snaps/openstack/tests/create_user_tests.py b/snaps/openstack/tests/create_user_tests.py
index 9f08a32..ffae596 100644
--- a/snaps/openstack/tests/create_user_tests.py
+++ b/snaps/openstack/tests/create_user_tests.py
@@ -105,7 +105,7 @@ class CreateUserSuccessTests(OSComponentTestCase):
self.user_settings = UserSettings(
name=guid + '-name',
password=guid + '-password',
- roles={'admin': 'admin'},
+ roles={'admin': self.os_creds.project_name},
domain_name=self.os_creds.user_domain_name)
self.keystone = keystone_utils.keystone_client(self.os_creds)