airshipctl/cmd/config/init_test.go
Kostiantyn Kalynovskyi 8c6ebb66d9 [AIR-203] add airshipctl config init subcommand
This commit is only base for future implementation

Change-Id: I3cfb3508de04d0a717245a75b5b197fda68fd01c
2020-01-28 17:16:11 +00:00

40 lines
962 B
Go

/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package config
import (
"testing"
"opendev.org/airship/airshipctl/pkg/errors"
"opendev.org/airship/airshipctl/testutil"
)
func TestConfigInit(t *testing.T) {
cmdTests := []*testutil.CmdTest{
{
Name: "config-init",
CmdLine: "",
Cmd: NewCmdConfigInit(nil),
Error: errors.ErrNotImplemented{},
},
}
for _, tt := range cmdTests {
testutil.RunTest(t, tt)
}
}