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

Function TestHelmDiffRollbackWithKubeContext

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

Source from the content-addressed store, hash-verified

81}
82
83func TestHelmDiffRollbackWithKubeContext(t *testing.T) {
84 h := setupHelmDiffTest(t)
85 defer h.cleanup()
86
87 os.Args = []string{"helm-diff", "rollback", "--kube-context", "test-context", "test-release", "2"}
88 require.NoError(t, cmd.New().Execute())
89}
90
91func TestHelmDiffReleaseWithKubeContext(t *testing.T) {
92 h := setupHelmDiffTest(t)

Callers

nothing calls this directly

Calls 3

NewFunction · 0.92
setupHelmDiffTestFunction · 0.85
cleanupMethod · 0.80

Tested by

no test coverage detected