(self)
| 196 | class ProxyTests(unittest.TestCase): |
| 197 | |
| 198 | def setUp(self): |
| 199 | # Records changes to env vars |
| 200 | self.env = self.enterContext(os_helper.EnvironmentVarGuard()) |
| 201 | # Delete all proxy related env vars |
| 202 | for k in list(os.environ): |
| 203 | if 'proxy' in k.lower(): |
| 204 | self.env.unset(k) |
| 205 | |
| 206 | def test_getproxies_environment_keep_no_proxies(self): |
| 207 | self.env.set('NO_PROXY', 'localhost') |
nothing calls this directly
no test coverage detected