mirror of
https://github.com/helm/helm.git
synced 2026-02-20 00:13:02 -05:00
Call ensure.HelmHome() in package_test.go
Signed-off-by: Zach Burgess <zachburg@google.com>
This commit is contained in:
parent
c48a3435f5
commit
eaf40b4b4f
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"helm.sh/helm/v4/internal/test/ensure"
|
||||
chart "helm.sh/helm/v4/pkg/chart/v2"
|
||||
"helm.sh/helm/v4/pkg/chart/v2/loader"
|
||||
)
|
||||
|
|
@ -111,6 +112,7 @@ func TestPackage(t *testing.T) {
|
|||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
t.Chdir(t.TempDir())
|
||||
ensure.HelmHome(t)
|
||||
|
||||
if err := os.MkdirAll("toot", 0o777); err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue