c58862e17e
New subcommands will be added later, this commit is a simple base for other commits related to airshipctl cluster command Change-Id: I77057c291b88bae3b8fca08ddf56bdf6d183fd24
22 lines
399 B
Go
22 lines
399 B
Go
package cluster_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"opendev.org/airship/airshipctl/cmd/cluster"
|
|
"opendev.org/airship/airshipctl/testutil"
|
|
)
|
|
|
|
func TestNewClusterCommandReturn(t *testing.T) {
|
|
tests := []*testutil.CmdTest{
|
|
{
|
|
Name: "cluster-cmd-with-defaults",
|
|
CmdLine: "",
|
|
Cmd: cluster.NewClusterCommand(nil),
|
|
},
|
|
}
|
|
for _, testcase := range tests {
|
|
testutil.RunTest(t, testcase)
|
|
}
|
|
}
|