MCPcopy Index your code
hub / github.com/docker/cli / TestCreateOrchestratorEmpty

Function TestCreateOrchestratorEmpty

cli/command/context/create_test.go:154–162  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

152}
153
154func TestCreateOrchestratorEmpty(t *testing.T) {
155 cli := makeFakeCli(t)
156
157 err := runCreate(cli, "test", createOptions{
158 endpoint: map[string]string{},
159 })
160 assert.NilError(t, err)
161 assertContextCreateLogging(t, cli, "test")
162}
163
164func TestCreateFromContext(t *testing.T) {
165 cases := []struct {

Callers

nothing calls this directly

Calls 3

makeFakeCliFunction · 0.85
runCreateFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…