kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-missing-service/test.yaml

description: add a testcase description
mode: edit
args:
- service/missing
namespace: "default"
expectedStderr:
- services "missing" not found
expectedExitCode: 1
steps:
- type: request
  expectedMethod: GET
  expectedPath: /api/v1/namespaces/default/services/missing
  expectedInput: 0.request
  resultingStatusCode: 404
  resultingOutput: 0.response