1f2e20e106
This is just a frame for command that will execute docker container with ISO builder scripts Change-Id: I59a5c494785af3cbcffd3b9f6a488d93f73f4878
27 lines
515 B
Go
27 lines
515 B
Go
package bootstrap_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"opendev.org/airship/airshipctl/cmd/bootstrap"
|
|
"opendev.org/airship/airshipctl/testutil"
|
|
)
|
|
|
|
func TestBootstrap(t *testing.T) {
|
|
tests := []*testutil.CmdTest{
|
|
{
|
|
Name: "bootstrap-cmd-with-defaults",
|
|
CmdLine: "",
|
|
Cmd: bootstrap.NewBootstrapCommand(nil),
|
|
},
|
|
{
|
|
Name: "bootstrap-isogen-cmd-with-help",
|
|
CmdLine: "isogen --help",
|
|
Cmd: bootstrap.NewBootstrapCommand(nil),
|
|
},
|
|
}
|
|
for _, tt := range tests {
|
|
testutil.RunTest(t, tt)
|
|
}
|
|
}
|