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

Function TestProxyTransport_NilWhenNoDockerDesktop

internal/desktop/proxy_test.go:85–88  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

83}
84
85func TestProxyTransport_NilWhenNoDockerDesktop(t *testing.T) {
86 assert.Assert(t, ProxyTransport("") == nil,
87 "must return nil so callers fall back to their own (e.g. containerd's) default transport")
88}
89
90func TestProxyTransport_NilWhenSocketMissing(t *testing.T) {
91 // no httpproxy.sock created

Callers

nothing calls this directly

Calls 1

ProxyTransportFunction · 0.85

Tested by

no test coverage detected