(self)
| 573 | |
| 574 | |
| 575 | def test_https(self): |
| 576 | handler = self.start_https_server() |
| 577 | context = ssl.create_default_context(cafile=CERT_localhost) |
| 578 | data = self.urlopen("https://localhost:%s/bizarre" % handler.port, context=context) |
| 579 | self.assertEqual(data, b"we care a bit") |
| 580 | |
| 581 | |
| 582 | def test_https_sni(self): |
nothing calls this directly
no test coverage detected