(t *testing.T)
| 242 | } |
| 243 | |
| 244 | func TestLocalCmdHelmTemplateError(t *testing.T) { |
| 245 | setupFakeHelm(t, "error", "", "", "") |
| 246 | |
| 247 | chart1 := t.TempDir() |
| 248 | chart2 := t.TempDir() |
| 249 | |
| 250 | cmd := localCmd() |
| 251 | cmd.SetArgs([]string{chart1, chart2}) |
| 252 | |
| 253 | err := cmd.Execute() |
| 254 | if err == nil { |
| 255 | t.Fatal("Expected error when helm template fails but got nil") |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | func TestPrepareStdinValues(t *testing.T) { |
| 260 | l := &local{ |
nothing calls this directly
no test coverage detected