Python client tests: access to credentials/net clients
Adapt to the latest changes in tempest master, and fix the access to the credentials and the network clients. The relevant changes seems to be (tempest): Credentials: I2f026e553f8c2c2a4cf2cb319bcd67e7d82e0479 Network client: I1730adb3258557698dbe15658bb1c12f2292c2fd Change-Id: I7af04cdd6805e8e26e27355289fbfd81d384d9af
This commit is contained in:
parent
5708eba261
commit
494a019178
|
@ -40,7 +40,7 @@ class BaseDataProcessingTest(manager.ScenarioTest):
|
|||
catalog_type = TEMPEST_CONF.data_processing.catalog_type
|
||||
auth_url = TEMPEST_CONF.identity.uri
|
||||
|
||||
credentials = cls.credentials()
|
||||
credentials = cls.os_primary.credentials
|
||||
|
||||
cls.client = sahara_client.Client(
|
||||
CONF.data_processing.saharaclient_version,
|
||||
|
@ -52,9 +52,9 @@ class BaseDataProcessingTest(manager.ScenarioTest):
|
|||
auth_url=auth_url,
|
||||
sahara_url=CONF.data_processing.sahara_url)
|
||||
|
||||
cls.object_client = cls.manager.object_client
|
||||
cls.container_client = cls.manager.container_client
|
||||
cls.networks_client = cls.manager.networks_client
|
||||
cls.object_client = cls.os_primary.object_client
|
||||
cls.container_client = cls.os_primary.container_client
|
||||
cls.networks_client = cls.os_primary.compute_networks_client
|
||||
|
||||
cls.floating_ip_pool = CONF.data_processing.floating_ip_pool
|
||||
if TEMPEST_CONF.service_available.neutron:
|
||||
|
|
Loading…
Reference in New Issue