Lines Matching refs:bypass
186 bypass = urllib.proxy_bypass_environment
189 self.assertTrue(bypass('localhost'))
190 self.assertTrue(bypass('LocalHost')) # MixedCase
191 self.assertTrue(bypass('LOCALHOST')) # UPPERCASE
192 self.assertTrue(bypass('newdomain.com:1234'))
193 self.assertTrue(bypass('foo.d.o.t')) # issue 29142
194 self.assertTrue(bypass('anotherdomain.com:8888'))
195 self.assertTrue(bypass('www.newdomain.com:1234'))
196 self.assertFalse(bypass('prelocalhost'))
197 self.assertFalse(bypass('newdomain.com')) # no port
198 self.assertFalse(bypass('newdomain.com:1235')) # wrong port