(self)
| 556 | self.assertEqual(handler.requests, ["/bizarre"]) |
| 557 | |
| 558 | def test_200_with_parameters(self): |
| 559 | expected_response = b"pycon 2008..." |
| 560 | handler = self.start_server([(200, [], expected_response)]) |
| 561 | data = self.urlopen("http://localhost:%s/bizarre" % handler.port, |
| 562 | b"get=with_feeling") |
| 563 | self.assertEqual(data, expected_response) |
| 564 | self.assertEqual(handler.requests, ["/bizarre", b"get=with_feeling"]) |
| 565 | |
| 566 | def test_https(self): |
| 567 | handler = self.start_https_server() |
nothing calls this directly
no test coverage detected