MCPcopy
hub / github.com/helm/helm / TestLoadFile

Function TestLoadFile

internal/chart/v3/loader/load_test.go:173–185  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

171}
172
173func TestLoadFile(t *testing.T) {
174 l, err := Loader("testdata/frobnitz-1.2.3.tgz")
175 if err != nil {
176 t.Fatalf("Failed to load testdata: %s", err)
177 }
178 c, err := l.Load()
179 if err != nil {
180 t.Fatalf("Failed to load testdata: %s", err)
181 }
182 verifyFrobnitz(t, c)
183 verifyChart(t, c)
184 verifyDependencies(t, c)
185}
186
187func TestLoadFiles(t *testing.T) {
188 modTime := time.Now()

Callers

nothing calls this directly

Calls 6

FatalfMethod · 0.80
LoaderFunction · 0.70
verifyFrobnitzFunction · 0.70
verifyChartFunction · 0.70
verifyDependenciesFunction · 0.70
LoadMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…