airshipctl/cmd/cluster/cluster_test.go
Kostiantyn Kalynovskyi c58862e17e [AIR-97] Adding base airshipctl cluster command
New subcommands will be added later, this commit is a simple base
for other commits related to airshipctl cluster command

Change-Id: I77057c291b88bae3b8fca08ddf56bdf6d183fd24
2019-10-02 14:26:38 -05:00

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)
}
}