MCPcopy Index your code
hub / github.com/helm/helm / TestPullSetRegistryClient

Function TestPullSetRegistryClient

pkg/action/pull_test.go:40–47  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

38}
39
40func TestPullSetRegistryClient(t *testing.T) {
41 config := actionConfigFixture(t)
42 client := NewPull(WithConfig(config))
43
44 registryClient := &registry.Client{}
45 client.SetRegistryClient(registryClient)
46 assert.Equal(t, registryClient, client.cfg.RegistryClient)
47}
48
49func TestPullRun_ChartNotFound(t *testing.T) {
50 srv, err := startLocalServerForTests(t, nil)

Callers

nothing calls this directly

Calls 4

SetRegistryClientMethod · 0.95
actionConfigFixtureFunction · 0.85
NewPullFunction · 0.85
WithConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…