def test_delete_non_existing_resource(subcall_cmd_error, svc_resource): k = Kubernetes(body=svc_resource['body']) assert k.delete() == "absent"
def test_delete_existing_resource(subcall_delete, svc_resource): k = Kubernetes(body=svc_resource['body']) assert k.delete() == "deleted"
def test_delete_ns_protected(subcall_delete, ns_resource): k = Kubernetes(body=ns_resource['body']) assert k.delete() == "protected"
def test_delete_non_existing_resource(subcall_cmd_error, svc_resource): k = Kubernetes(body=svc_resource['body']) assert k.delete() == "absent"
def test_delete_existing_resource(subcall_delete, svc_resource): k = Kubernetes(body=svc_resource['body']) assert k.delete() == "deleted"
def test_delete_ns_protected(subcall_delete, ns_resource): k = Kubernetes(body=ns_resource['body']) assert k.delete() == "protected"