MCPcopy Create free account
hub / github.com/apache/camel-k / kamelTestPreAddCommandInit

Function kamelTestPreAddCommandInit

pkg/cmd/root_test.go:50–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func kamelTestPreAddCommandInit() (*RootCmdOptions, *cobra.Command) {
51 fakeClient, _ := internal.NewFakeClient()
52 return kamelTestPreAddCommandInitWithClient(fakeClient)
53}
54
55func TestLoadFromEnvVar(t *testing.T) {
56 // shows how to include a "," character inside an env value see VAR1 value

Callers 7

TestLogsAliasFunction · 0.85
initializeRunCmdOptionsFunction · 0.85

Calls 2

NewFakeClientFunction · 0.92

Tested by

no test coverage detected