Skip to content

Commit 150c783

Browse files
committed
add missing test_update_agentpool_profile_preview.py
1 parent 3c3b9e7 commit 150c783

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/aks-preview/azext_aks_preview/tests/latest/test_agentpool_decorator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2865,6 +2865,9 @@ def test_update_localdns_profile(self):
28652865
def test_process_dns_overrides_helper(self):
28662866
self.common_test_process_dns_overrides_helper()
28672867

2868+
def test_update_gpu_profile(self):
2869+
self.common_update_gpu_profile()
2870+
28682871
def test_update_agentpool_profile_preview(self):
28692872
import inspect
28702873

src/aks-preview/azext_aks_preview/tests/latest/test_update_agentpool_profile_preview.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def test_update_agentpool_profile_preview_mixed_modes_scenario(self):
550550
'update_network_profile', 'update_artifact_streaming',
551551
'update_secure_boot', 'update_vtpm', 'update_os_sku', 'update_fips_image',
552552
'update_ssh_access', 'update_localdns_profile', 'update_auto_scaler_properties_vms',
553-
'update_upgrade_strategy', 'update_blue_green_upgrade_settings'
553+
'update_upgrade_strategy', 'update_blue_green_upgrade_settings', 'update_gpu_profile'
554554
]
555555

556556
for method_name in update_methods:
@@ -622,6 +622,7 @@ def test_update_agentpool_profile_preview_managed_cluster_mode(self):
622622
decorator.update_auto_scaler_properties_vms = Mock(return_value=agentpool)
623623
decorator.update_upgrade_strategy = Mock(return_value=agentpool)
624624
decorator.update_blue_green_upgrade_settings = Mock(return_value=agentpool)
625+
decorator.update_gpu_profile = Mock(return_value=agentpool)
625626

626627
# Act
627628
result = decorator.update_agentpool_profile_preview(agentpools)

0 commit comments

Comments
 (0)