def test_check_cmd(svc_resource, subcall_cmd): k = Kubernetes(body=svc_resource['body']) assert k._call(["get", "svc", "kube-ui"]) == "kubectl get svc kube-ui --namespace testns"
def test_call_dry(svc_resource): k = Kubernetes(body=svc_resource['body']) assert k._call(["get", "rc", "kube-ui"], dry=True)