(self)
| 564 | self.assertEqual(handler.requests, ["/bizarre", b"get=with_feeling"]) |
| 565 | |
| 566 | def test_https(self): |
| 567 | handler = self.start_https_server() |
| 568 | context = ssl.create_default_context(cafile=CERT_localhost) |
| 569 | data = self.urlopen("https://localhost:%s/bizarre" % handler.port, context=context) |
| 570 | self.assertEqual(data, b"we care a bit") |
| 571 | |
| 572 | def test_https_sni(self): |
| 573 | if ssl is None: |
nothing calls this directly
no test coverage detected