Change devstack default role Member to member

Change-Id: Ie66b80297dc957c3127e45ccda253414ac8d41e2
This commit is contained in:
melissaml 2019-03-12 14:14:29 +08:00
parent ecf9680768
commit 939f1bcfd6

View File

@ -160,7 +160,7 @@ class UITestCase(testtools.TestCase):
def add_user_to_project(self, project_id, user_id, user_role=None):
if not user_role:
roles = self.keystone_client.roles.list()
role_id = [role.id for role in roles if role.name == 'Member'][0]
role_id = [role.id for role in roles if role.name == 'member'][0]
if not user_id:
user_name = cfg.common.user
users = self.keystone_client.users.list()