(self)
| 556 | |
| 557 | |
| 558 | def test_200(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 | self.assertEqual(data, expected_response) |
| 563 | self.assertEqual(handler.requests, ["/bizarre"]) |
| 564 | |
| 565 | |
| 566 | def test_200_with_parameters(self): |
nothing calls this directly
no test coverage detected