New ๐ŸŒŠ wave for @helm

Commit 793f3c70

793f3c70c55fMerged

Svyatoslav Dumchenko <[email protected]> ยท 4 years ago ยท 3 files ยท +1 added ยท ~2 modified

Description

add tests for pkg/action/up.go

Details

Commit
793f3c70c55f
Parent
b303c8c2dbb9

pkg/action/diff_live_test.gomodifiedView file

@@ -9,7 +9,6 @@
99 "testing"
1010
1111 "github.com/helmwave/helmwave/tests"
12- log "github.com/sirupsen/logrus"
1312 "github.com/stretchr/testify/suite"
1413 "github.com/urfave/cli/v2"
1514 )
@@ -18,24 +17,6 @@
1817 suite.Suite
1918 }
2019
21-func (ts *DiffLiveTestSuite) TestBuild() {
22- tmpDir := ts.T().TempDir()
23- y := &Yml{
24- filepath.Join(tests.Root, "07_helmwave.yml"),
25- filepath.Join(tests.Root, "07_helmwave.yml"),
26- }
27-
28- s := &Build{
29- plandir: tmpDir,
30- tags: cli.StringSlice{},
31- yml: y,
32- diff: &Diff{},
33- diffMode: diffModeLive,
34- }
35-
36- ts.Require().NoError(s.Run())
37-}
38-
3920 func (ts *DiffLiveTestSuite) TestRun() {
4021 tmpDir := ts.T().TempDir()
4122 y := &Yml{
@@ -62,8 +43,6 @@
6243 }
6344
6445 func TestDiffLiveTestSuite(t *testing.T) {
65- // t.Parallel()
66- level, _ := log.ParseLevel("debug")
67- log.SetLevel(level)
46+ t.Parallel()
6847 suite.Run(t, new(DiffLiveTestSuite))
6948 }