23 lines
507 B
Go
23 lines
507 B
Go
|
package helm
|
||
|
|
||
|
import (
|
||
|
// "os"
|
||
|
// "path/filepath"
|
||
|
|
||
|
"testing"
|
||
|
|
||
|
// "github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestHelmRepoAdd(t *testing.T){
|
||
|
// fmt.Println(" TestVersion ", TEST_BIN_DIR)
|
||
|
|
||
|
// bin := filepath.Join(TEST_BIN_DIR, "helm")
|
||
|
// os.Chmod(bin, 0700)
|
||
|
// assert.FileExists(t, bin, "TestHelmVersion error")
|
||
|
|
||
|
// version, err := Version(bin)
|
||
|
|
||
|
// assert.Nilf(t, err, "error message %s", bin)
|
||
|
// assert.Equal(t, version, "v3.15.4+gfa9efb0", "TestHelmVersion error")
|
||
|
}
|