From 92b9ab3a1b25cdf4e3df19d704b572eeb98e780e Mon Sep 17 00:00:00 2001 From: "jeremy.zhang" Date: Mon, 9 Oct 2017 16:04:24 +0800 Subject: [PATCH] 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 --- trove/tests/tempest/tests/api/database/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trove/tests/tempest/tests/api/database/base.py b/trove/tests/tempest/tests/api/database/base.py index a0d58bd..93366e5 100644 --- a/trove/tests/tempest/tests/api/database/base.py +++ b/trove/tests/tempest/tests/api/database/base.py @@ -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)