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
This commit is contained in:
parent
382f9d511e
commit
a076ed893e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user