test
This commit is contained in:
17
src/kubectl/kubectl_test.go
Normal file
17
src/kubectl/kubectl_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package kubectl
|
||||
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestKubectl(t *testing.T) {
|
||||
cmd := KubectlCommand{}
|
||||
cmd.New()
|
||||
|
||||
assert.NotNilf(t, cmd.Exec, "TestKubectl %s", "New")
|
||||
|
||||
cmd.Exec("pwd")
|
||||
}
|
Reference in New Issue
Block a user