Replace deprecated alias 'os' with 'os_primary'

Tempest has deprecated the alias 'os' and will use the alias 'os_primary'
instead. The alias 'os' was deprecated in Pike and planned to be removed
in Queen.

Let's use the stable alias 'os_primary' for primary credential. This will
help Tempest to remove the deprecated alias 'os'.

Change-Id: I39c33acb6dc33d245c8452d1587c09b31178d728
This commit is contained in:
jeremy.zhang 2017-10-09 16:04:24 +08:00
parent 583d7ceb89
commit 92b9ab3a1b
1 changed files with 4 additions and 4 deletions

View File

@ -49,18 +49,18 @@ class BaseDatabaseTest(tempest.test.BaseTestCase):
}
default_params_with_timeout_values.update(default_params)
cls.database_flavors_client = flavors_client.DatabaseFlavorsClient(
cls.os.auth_provider,
cls.os_primary.auth_provider,
CONF.database.catalog_type,
CONF.identity.region,
**default_params_with_timeout_values)
cls.os_flavors_client = cls.os.flavors_client
cls.os_flavors_client = cls.os_primary.flavors_client
cls.database_limits_client = limits_client.DatabaseLimitsClient(
cls.os.auth_provider,
cls.os_primary.auth_provider,
CONF.database.catalog_type,
CONF.identity.region,
**default_params_with_timeout_values)
cls.database_versions_client = versions_client.DatabaseVersionsClient(
cls.os.auth_provider,
cls.os_primary.auth_provider,
CONF.database.catalog_type,
CONF.identity.region,
**default_params_with_timeout_values)