Skip to content

Commit

Permalink
Merge pull request #1704 from arenadata/export-import-test-fix
Browse files Browse the repository at this point in the history
Fix getting provider by name in `test_export_cluster_from_another_adcm`
  • Loading branch information
a-alferov authored Apr 18, 2022
2 parents f12b6d0 + 61b3911 commit caf3f2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functional/test_multiple_adcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit caf3f2a

Please sign in to comment.