(self)
| 1118 | |
| 1119 | @unittest.skipUnless(hasattr(http.client, 'HTTPSConnection'), 'HTTPSConnection required for HTTPS tests.') |
| 1120 | def test_https_handler_local_debuglevel(self): |
| 1121 | o = OpenerDirector() |
| 1122 | h = MockHTTPSHandler(debuglevel=4) |
| 1123 | o.add_handler(h) |
| 1124 | o.open("https://www.example.com") |
| 1125 | self.assertEqual(h._debuglevel, 4) |
| 1126 | |
| 1127 | def test_http_doubleslash(self): |
| 1128 | # Checks the presence of any unnecessary double slash in url does not |
nothing calls this directly
no test coverage detected