MCPcopy Index your code
hub / github.com/docker/docker-py / test_environment

Method test_environment

tests/unit/utils_proxy_test.py:56–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 assert ProxyConfig(no_proxy='non-zero')
55
56 def test_environment(self):
57 self.assertDictEqual(CONFIG.get_environment(), ENV)
58 empty = ProxyConfig()
59 self.assertDictEqual(empty.get_environment(), {})
60
61 def test_inject_proxy_environment(self):
62 # Proxy config is non null, env is None.

Callers

nothing calls this directly

Calls 2

get_environmentMethod · 0.95
ProxyConfigClass · 0.90

Tested by

no test coverage detected