MCPcopy
hub / github.com/docker/compose / TestComposeModel

Function TestComposeModel

pkg/e2e/model_test.go:23–31  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

21)
22
23func TestComposeModel(t *testing.T) {
24 if _, err := findPluginExecutable(DockerModelExecutableName); err != nil {
25 t.Skip("docker-model plugin not available")
26 }
27 c := NewParallelCLI(t)
28 defer c.cleanupWithDown(t, "model-test")
29
30 c.RunDockerComposeCmd(t, "-p", "model-test", "-f", "./fixtures/model/compose.yaml", "run", "--rm", "test", "sh", "-c", "curl ${FOO_URL}")
31}

Callers

nothing calls this directly

Calls 4

findPluginExecutableFunction · 0.85
NewParallelCLIFunction · 0.85
cleanupWithDownMethod · 0.80
RunDockerComposeCmdMethod · 0.80

Tested by

no test coverage detected