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

Method test_truthiness

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

Source from the content-addressed store, hash-verified

47 self.assertEqual(config.no_proxy, 'd')
48
49 def test_truthiness(self):
50 assert not ProxyConfig()
51 assert ProxyConfig(http='non-zero')
52 assert ProxyConfig(https='non-zero')
53 assert ProxyConfig(ftp='non-zero')
54 assert ProxyConfig(no_proxy='non-zero')
55
56 def test_environment(self):
57 self.assertDictEqual(CONFIG.get_environment(), ENV)

Callers

nothing calls this directly

Calls 1

ProxyConfigClass · 0.90

Tested by

no test coverage detected