Skip to content

Commit

Permalink
remove deprecated test case
Browse files Browse the repository at this point in the history
  • Loading branch information
FumingZhang committed Nov 8, 2024
1 parent 0c60fe5 commit e0dfa0a
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2028,22 +2028,6 @@ def test_get_network_plugin(self):
ctx_6.attach_mc(mc)
self.assertEqual(ctx_6.get_network_plugin(), "azure")

# do not use default from SDK when CREATE and nothing provided by user
ctx_7 = AKSManagedClusterContext(
self.cmd,
AKSManagedClusterParamDict(
{
}
),
self.models,
DecoratorMode.CREATE,
)
network_profile_7 = self.models.ContainerServiceNetworkProfile()
self.assertEqual(network_profile_7.network_plugin, "kubenet") # kubenet is the default that comes from the SDK
mc = self.models.ManagedCluster(location="test_location", network_profile=network_profile_7)
ctx_7.attach_mc(mc)
self.assertIsNone(ctx_7.get_network_plugin())

def test_mc_get_network_dataplane(self):
# Default, not set.
ctx_1 = AKSManagedClusterContext(
Expand Down

0 comments on commit e0dfa0a

Please sign in to comment.