File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/azure-cli/azure/cli/command_modules/acs/tests/latest Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -94,11 +94,7 @@ def test_models(self):
9494 models = AKSManagedClusterModels(self.cmd, ResourceType.MGMT_CONTAINERSERVICE)
9595
9696 # load models directly (instead of through the `get_sdk` method provided by the cli component)
97- from azure.cli.core.profiles._shared import AZURE_API_PROFILES
98-
99- sdk_profile = AZURE_API_PROFILES["latest"][ResourceType.MGMT_CONTAINERSERVICE]
100- api_version = sdk_profile.default_api_version
101- module_name = "azure.mgmt.containerservice.v{}.models".format(api_version.replace("-", "_"))
97+ module_name = "azure.mgmt.containerservice.models"
10298 module = importlib.import_module(module_name)
10399
104100 # load balancer models
You can’t perform that action at this time.
0 commit comments