(t *testing.T)
| 62 | } |
| 63 | |
| 64 | func TestDeployV1(t *testing.T) { |
| 65 | spec, err := os.ReadFile("testdata/deploy_v1.yaml") |
| 66 | require.NoError(t, err) |
| 67 | |
| 68 | require.Equal(t, |
| 69 | []string{"default, nginx, Deployment (apps)"}, |
| 70 | foundObjects(Parse(spec, "default", false)), |
| 71 | ) |
| 72 | } |
| 73 | |
| 74 | func TestDeployV1Beta1(t *testing.T) { |
| 75 | spec, err := os.ReadFile("testdata/deploy_v1beta1.yaml") |
nothing calls this directly
no test coverage detected