MCPcopy
hub / github.com/helm/helm / TestLoadV1

Function TestLoadV1

pkg/chart/v2/loader/load_test.go:173–184  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

171}
172
173func TestLoadV1(t *testing.T) {
174 l, err := Loader("testdata/frobnitz.v1")
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 verifyDependencies(t, c)
183 verifyDependenciesLock(t, c)
184}
185
186func TestLoadFileV1(t *testing.T) {
187 l, err := Loader("testdata/frobnitz.v1.tgz")

Callers

nothing calls this directly

Calls 5

FatalfMethod · 0.80
LoaderFunction · 0.70
verifyDependenciesFunction · 0.70
verifyDependenciesLockFunction · 0.70
LoadMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…