(self, uri, method='GET', body=None, headers={})
| 425 | self.assertEqual(response.status, HTTPStatus.OK) |
| 426 | |
| 427 | def request(self, uri, method='GET', body=None, headers={}): |
| 428 | context = ssl._create_unverified_context() |
| 429 | self.connection = http.client.HTTPSConnection( |
| 430 | self.HOST, self.PORT, context=context |
| 431 | ) |
| 432 | self.connection.request(method, uri, body, headers) |
| 433 | return self.connection.getresponse() |
| 434 | |
| 435 | def test_valid_certdata(self): |
| 436 | valid_certdata= [ |
no test coverage detected