(t *testing.T)
| 32 | } |
| 33 | |
| 34 | func TestPodNamespace(t *testing.T) { |
| 35 | spec, err := os.ReadFile("testdata/pod_namespace.yaml") |
| 36 | require.NoError(t, err) |
| 37 | |
| 38 | require.Equal(t, |
| 39 | []string{"batcave, nginx, Pod (v1)"}, |
| 40 | foundObjects(Parse(spec, "default", false)), |
| 41 | ) |
| 42 | } |
| 43 | |
| 44 | func TestPodHook(t *testing.T) { |
| 45 | spec, err := os.ReadFile("testdata/pod_hook.yaml") |
nothing calls this directly
no test coverage detected