(t *testing.T)
| 69 | } |
| 70 | |
| 71 | func Test_SetHelmBinary(t *testing.T) { |
| 72 | helm := MockExecer(NewLogger(os.Stdout, "info"), "dev") |
| 73 | if helm.helmBinary != "helm" { |
| 74 | t.Error("helmexec.command - default command is not helm") |
| 75 | } |
| 76 | helm.SetHelmBinary("foo") |
| 77 | if helm.helmBinary != "foo" { |
| 78 | t.Errorf("helmexec.SetHelmBinary() - actual = %s expect = foo", helm.helmBinary) |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | func Test_AddRepo_Helm_3_3_2(t *testing.T) { |
| 83 | var buffer bytes.Buffer |
nothing calls this directly
no test coverage detected