mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-29 18:27:58 +08:00
16 lines
341 B
Go
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)
|
|
}
|