MCPcopy
hub / github.com/helm/helm / TestLoadFileV1

Function TestLoadFileV1

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

Source from the content-addressed store, hash-verified

184}
185
186func TestLoadFileV1(t *testing.T) {
187 l, err := Loader("testdata/frobnitz.v1.tgz")
188 if err != nil {
189 t.Fatalf("Failed to load testdata: %s", err)
190 }
191 c, err := l.Load()
192 if err != nil {
193 t.Fatalf("Failed to load testdata: %s", err)
194 }
195 verifyDependencies(t, c)
196 verifyDependenciesLock(t, c)
197}
198
199func TestLoadFile(t *testing.T) {
200 l, err := Loader("testdata/frobnitz-1.2.3.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…