Rainbond/pkg/helm/repo_test.go
2021-05-08 16:21:52 +08:00

16 lines
341 B
Go

package helm
import (
"github.com/goodrain/rainbond/util"
"github.com/stretchr/testify/assert"
"testing"
)
func TestRepoAdd(t *testing.T) {
repo := NewRepo(
"/tmp/helm/repoName/repositories.yaml",
"/tmp/helm/cache")
err := repo.Add(util.NewUUID(), "https://openchart.goodrain.com/goodrain/rainbond", "", "")
assert.Nil(t, err)
}