MCPcopy Index your code
hub / github.com/databus23/helm-diff / TestHelmDiffReleaseWithKubeContext

Function TestHelmDiffReleaseWithKubeContext

main_test.go:91–97  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

89}
90
91func TestHelmDiffReleaseWithKubeContext(t *testing.T) {
92 h := setupHelmDiffTest(t)
93 defer h.cleanup()
94
95 os.Args = []string{"helm-diff", "release", "--kube-context", "test-context", "test-release1", "test-release2"}
96 require.NoError(t, cmd.New().Execute())
97}
98
99const (
100 env = "BECOME_FAKE_HELM"

Callers

nothing calls this directly

Calls 3

NewFunction · 0.92
setupHelmDiffTestFunction · 0.85
cleanupMethod · 0.80

Tested by

no test coverage detected