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

Function TestAskpassIsManagementInvocation

cmd/root/askpass_test.go:21–26  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

19}
20
21func TestAskpassIsManagementInvocation(t *testing.T) {
22 t.Parallel()
23
24 // __askpass must skip self-update (it is invoked by sudo mid-command).
25 assert.True(t, isManagementInvocation([]string{shell.AskpassCommandName, "--", "p"}))
26}

Callers

nothing calls this directly

Calls 1

isManagementInvocationFunction · 0.85

Tested by

no test coverage detected