MCPcopy Index your code
hub / github.com/docker/docker-agent / TestPrintModelsDevAllowance

Function TestPrintModelsDevAllowance

cmd/root/sandbox_test.go:220–226  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

218}
219
220func TestPrintModelsDevAllowance(t *testing.T) {
221 t.Parallel()
222
223 var buf strings.Builder
224 printModelsDevAllowance(&buf)
225 assert.Equal(t, "Models catalog: allowlisting models.dev in the sandbox proxy\n", buf.String())
226}
227
228func TestPrintToolInstallAllowance(t *testing.T) {
229 t.Parallel()

Callers

nothing calls this directly

Calls 2

printModelsDevAllowanceFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected