Fix test_create_inactive_datastore_by_admin

Change-Id: I7d8a23a2b015d3eead2eefb5df158e950fff0943
(cherry picked from commit e4b70cf73a)
This commit is contained in:
Lingxian Kong 2021-03-25 08:49:05 +13:00
parent ed5c5f962d
commit 368915a29d
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class Datastores(object):
@test @test
def test_create_inactive_datastore_by_admin(self): def test_create_inactive_datastore_by_admin(self):
datastores = self.rd_client.datastores.list() datastores = self.rd_admin.datastores.list()
for ds in datastores: for ds in datastores:
if ds.name == test_config.dbaas_datastore_name_no_versions: if ds.name == test_config.dbaas_datastore_name_no_versions:
for version in ds.versions: for version in ds.versions: