Fix keystone tempest test failure
This commit fixes the tempest failure and also updates the version in setup.cfg Change-Id: Ie0882db236b0f3f4ba1fd7af8cf2fd42c182ac00
This commit is contained in:
parent
3ddcc44b45
commit
ec6f93668f
|
@ -44,6 +44,7 @@ class TestKeystoneV2Driver(manager_congress.ScenarioPolicyBase):
|
|||
cls.keystone = cls.os.identity_client
|
||||
cls.tenants_client = cls.os.tenants_client
|
||||
cls.roles_client = cls.os.roles_client
|
||||
cls.users_client = cls.os.users_client
|
||||
cls.datasource_id = manager_congress.get_datasource_id(
|
||||
cls.admin_manager.congress_client, 'keystone')
|
||||
|
||||
|
@ -58,7 +59,7 @@ class TestKeystoneV2Driver(manager_congress.ScenarioPolicyBase):
|
|||
def _check_data_table_keystone_users():
|
||||
# Fetch data from keystone each time, because this test may start
|
||||
# before keystone has all the users.
|
||||
users = self.keystone.list_users()['users']
|
||||
users = self.users_client.list_users()['users']
|
||||
user_map = {}
|
||||
for user in users:
|
||||
user_map[user['id']] = user
|
||||
|
|
Loading…
Reference in New Issue