From 61b3911db0b237ba0ae9ecebed557ad60381b7f5 Mon Sep 17 00:00:00 2001 From: Sealwing Date: Mon, 18 Apr 2022 12:23:50 +0500 Subject: [PATCH] Fix getting provider by name in `test_export_cluster_from_another_adcm` --- tests/functional/test_multiple_adcm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/functional/test_multiple_adcm.py b/tests/functional/test_multiple_adcm.py index af25000201..0dbeba1629 100644 --- a/tests/functional/test_multiple_adcm.py +++ b/tests/functional/test_multiple_adcm.py @@ -31,8 +31,8 @@ from tests.functional.tools import AnyADCMObject, get_object_represent -CLUSTER_NAME = 'test_cluster' -PROVIDER_NAME = 'test_provider' +CLUSTER_NAME = 'test_cluster_to_export' +PROVIDER_NAME = 'test_provider_to_export' DEFAULT_CONFIG_SERVICE = 'service_with_defaults' CHANGED_CONFIG_SERVICE = 'service_with_changed_config' @@ -93,7 +93,7 @@ def test_export_cluster_from_another_adcm(adcm_fs, extra_adcm_fs, sdk_client_fs, Test basic scenario export of a cluster from one ADCM to another """ - provider = sdk_client_fs.provider() + provider = sdk_client_fs.provider(name=PROVIDER_NAME) cluster_to_export = sdk_client_fs.cluster(name=CLUSTER_NAME) hc_map = set_hc_map(cluster_to_export, provider)