kubectl/pkg/cmd/edit/testdata/testcase-missing-service/test.yaml
Sean Sullivan c6063dd846 Move pkg/kubectl/cmd/{command} to staging
Kubernetes-commit: 0e0ea523392f1121f61f99ac30a9bc2043eaed90
2019-08-01 11:01:40 -07:00

15 lines
352 B
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