  def testNetworkPolicyDeleteArgs(self, mock_delete_func):
    """Test that a NetworkPolicy deletion is called with the correct args."""
    network_policy = netpol.K8sNetworkPolicy(
        k8s_mocks.MOCK_API_CLIENT, 'name-iyykyqbc', 'namespace-iyykyqbc')
    network_policy.Delete()
    mock_delete_func.assert_called_once_with(
        'name-iyykyqbc', 'namespace-iyykyqbc')
Test that a NetworkPolicy deletion is called with the correct args.
tests/providers/kubernetes/test_netpol.py