MCPcopy
hub / github.com/helm/helm / TestLoadChartfile

Function TestLoadChartfile

pkg/chart/v2/util/chartfile_test.go:27–34  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25const testfile = "testdata/chartfiletest.yaml"
26
27func TestLoadChartfile(t *testing.T) {
28 f, err := LoadChartfile(testfile)
29 if err != nil {
30 t.Errorf("Failed to open %s: %s", testfile, err)
31 return
32 }
33 verifyChartfile(t, f, "frobnitz")
34}
35
36func verifyChartfile(t *testing.T, f *chart.Metadata, name string) {
37 t.Helper()

Callers

nothing calls this directly

Calls 2

LoadChartfileFunction · 0.70
verifyChartfileFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…