MCPcopy
hub / github.com/databus23/helm-diff / TestDeployV1

Function TestDeployV1

manifest/parse_test.go:64–72  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

62}
63
64func 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
74func TestDeployV1Beta1(t *testing.T) {
75 spec, err := os.ReadFile("testdata/deploy_v1beta1.yaml")

Callers

nothing calls this directly

Calls 2

foundObjectsFunction · 0.85
ParseFunction · 0.85

Tested by

no test coverage detected