MCPcopy
hub / github.com/helm/helm / TestInstallSetRegistryClient

Function TestInstallSetRegistryClient

pkg/action/install_test.go:1125–1133  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1123}
1124
1125func TestInstallSetRegistryClient(t *testing.T) {
1126 config := actionConfigFixture(t)
1127 instAction := NewInstall(config)
1128
1129 registryClient := &registry.Client{}
1130 instAction.SetRegistryClient(registryClient)
1131
1132 assert.Equal(t, registryClient, instAction.GetRegistryClient())
1133}
1134
1135func TestInstallCRDs(t *testing.T) {
1136 config := actionConfigFixtureWithDummyResources(t, createDummyCRDList(false))

Callers

nothing calls this directly

Calls 4

SetRegistryClientMethod · 0.95
GetRegistryClientMethod · 0.95
actionConfigFixtureFunction · 0.85
NewInstallFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…