  def testDeploymentNonCascadingDeletionArgs(self, mock_delete):
    """Test that a Deployment's deletion specifies correct args."""
    workload = workloads.K8sDeployment(
        k8s_mocks.MOCK_API_CLIENT, 'name-cvjcofvh', 'namespace-gonnujrl')
    workload.Delete(cascade=False)

    mock_delete.assert_called_once_with(
        'name-cvjcofvh',
        'namespace-gonnujrl',
        body={'propagationPolicy': 'Orphan'})
Test that a Deployment's deletion specifies correct args.
tests/providers/kubernetes/test_workloads.py