File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
src/aks-preview/azext_aks_preview/tests/latest Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -111,15 +111,7 @@ def test_models(self):
111111 models = AKSPreviewManagedClusterModels (self .cmd , CUSTOM_MGMT_AKS_PREVIEW )
112112
113113 # load models directly (instead of through the `get_sdk` method provided by the cli component)
114- from azure .cli .core .profiles ._shared import AZURE_API_PROFILES
115-
116- sdk_profile = AZURE_API_PROFILES ["latest" ][CUSTOM_MGMT_AKS_PREVIEW ]
117- api_version = sdk_profile .default_api_version
118- module_name = (
119- "azext_aks_preview.vendored_sdks.azure_mgmt_preview_aks.v{}.models" .format (
120- api_version .replace ("-" , "_" )
121- )
122- )
114+ module_name = "azext_aks_preview.vendored_sdks.azure_mgmt_preview_aks.models"
123115 module = importlib .import_module (module_name )
124116
125117 # pod identity models
You can’t perform that action at this time.
0 commit comments