From 1ca439adb0c11ceff702bff409b6e00ffffb0ed9 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Mon, 23 May 2022 20:18:01 -0500 Subject: [PATCH] Fix import of orchestration_client in base class orchestration_client is recently moved from tempest to murano-tempest-plugin but there is one import error and instantiation of orchestration_client. Fixing the error. Change-Id: I0743a6c1e9a97740aa5e5cb7f10bc0f06aabbf05 --- .../tests/scenario/application_catalog/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/murano_tempest_tests/tests/scenario/application_catalog/base.py b/murano_tempest_tests/tests/scenario/application_catalog/base.py index c044499..ec4862b 100644 --- a/murano_tempest_tests/tests/scenario/application_catalog/base.py +++ b/murano_tempest_tests/tests/scenario/application_catalog/base.py @@ -25,7 +25,7 @@ from tempest.lib import exceptions from tempest import test from murano_tempest_tests import clients -from murano_tempest_tests.services import orchestration +from murano_tempest_tests.services import orchestration_client from murano_tempest_tests import utils CONF = config.CONF @@ -73,7 +73,7 @@ class BaseApplicationCatalogScenarioTest(test.BaseTestCase): params['region'] = CONF.identity.region else: params['region'] = getattr(options, 'region') - cls.orchestration_client = orchestration.OrchestrationClient( + cls.orchestration_client = orchestration_client.OrchestrationClient( cls.services_manager.auth_provider, **params) cls.images_client = cls.services_manager.image_client_v2 @@ -415,7 +415,7 @@ class BaseApplicationCatalogScenarioIsolatedAdminTest( # NOTE(andreaf) The orchestration client is not initialised in Tempest # by default anymore. params = config.service_client_config('orchestration') - cls.orchestration_client = orchestration.OrchestrationClient( + cls.orchestration_client = orchestration_client.OrchestrationClient( cls.services_manager.auth_provider, **params) cls.snapshots_client = cls.services_manager.snapshots_v2_client cls.volumes_client = cls.services_manager.volumes_v2_client