Commit d0ec8614
d0ec8614be9cMerged
zhilyaev <[email protected]> · 5 years ago · 4 files · +1 added · ~3 modified
Description
close #124
Details
- Commit
- d0ec8614be9c
- Parent
- 6659a159115b
pkg/action/build_test.gomodifiedView file
@@ -12,6 +12,23 @@
1212
_ = os.RemoveAll(tests.Root + plan.Plandir)1313
}1414
15+
func TestBuildRepositories404(t *testing.T) {16+
defer clean()17+
18+
s := &Build{19+
plandir: tests.Root + plan.Plandir,20+
yml: tests.Root + "04_helmwave.yml",21+
tags: cli.StringSlice{},22+
matchAll: true,23+
}24+
25+
err := s.Run()26+
if err != plan.RepositoryNotFound && err != nil {27+
t.Error("'bitnami' must be not found")28+
}29+
30+
}31+
1532
func TestBuildRepositories(t *testing.T) {1633
defer clean()1734
pkg/plan/build.gomodifiedView file
Loading diff…
tests/02_helmwave.ymlmodifiedView file
Loading diff…
tests/04_helmwave.ymladdedView file
Loading diff…