From 508a0609e842a98598adf4fe07e1a7f8b3cbb0a6 Mon Sep 17 00:00:00 2001 From: gecong1973 Date: Fri, 28 Jul 2017 20:29:56 -0700 Subject: [PATCH] Remove Deprecation tempest Warning when running tempest test, there are some DeprecationWarning: Read-only property 'os' has moved to 'os_primary' in version 'Pike' and will be removed in version 'Queens', this patch fix it. Change-Id: I51511a06ca863f6a98801fef55a5c845fbf58619 --- zaqar/tests/tempest_plugin/tests/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zaqar/tests/tempest_plugin/tests/base.py b/zaqar/tests/tempest_plugin/tests/base.py index df42829..b174ff0 100644 --- a/zaqar/tests/tempest_plugin/tests/base.py +++ b/zaqar/tests/tempest_plugin/tests/base.py @@ -152,7 +152,7 @@ class BaseV1MessagingTest(BaseMessagingTest): def setup_clients(cls): super(BaseV1MessagingTest, cls).setup_clients() cls.client = messaging_client.V1MessagingClient( - cls.os.auth_provider, + cls.os_primary.auth_provider, CONF.messaging.catalog_type, CONF.identity.region, build_interval=CONF.compute.build_interval, @@ -177,7 +177,7 @@ class BaseV11MessagingTest(BaseMessagingTest): def setup_clients(cls): super(BaseV11MessagingTest, cls).setup_clients() cls.client = messaging_client.V11MessagingClient( - cls.os.auth_provider, + cls.os_primary.auth_provider, CONF.messaging.catalog_type, CONF.identity.region, build_interval=CONF.compute.build_interval, @@ -205,7 +205,7 @@ class BaseV2MessagingTest(BaseMessagingTest): def setup_clients(cls): super(BaseV2MessagingTest, cls).setup_clients() cls.client = messaging_client.V2MessagingClient( - cls.os.auth_provider, + cls.os_primary.auth_provider, CONF.messaging.catalog_type, CONF.identity.region, build_interval=CONF.compute.build_interval,