Searched refs:check_status_and_reason (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_httpservers.py | 346 def check_status_and_reason(self, response, status, data=None): member in SimpleHTTPServerTestCase 357 self.check_status_and_reason(response, 200, data=self.data) 360 self.check_status_and_reason(response, 404) 362 self.check_status_and_reason(response, 200) 364 self.check_status_and_reason(response, 301) 366 self.check_status_and_reason(response, 200) 368 self.check_status_and_reason(response, 301) 372 self.check_status_and_reason(response, 404) 374 self.check_status_and_reason(response, 404) 377 self.check_status_and_reason(response, 200) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_httpservers.py | 362 def check_status_and_reason(self, response, status, data=None): member in SimpleHTTPServerTestCase 406 body = self.check_status_and_reason(response, HTTPStatus.OK) 413 self.check_status_and_reason(response, HTTPStatus.OK, 419 self.check_status_and_reason(response, HTTPStatus.OK, data=self.data) 422 self.check_status_and_reason(response, HTTPStatus.NOT_FOUND) 424 self.check_status_and_reason(response, HTTPStatus.OK) 426 self.check_status_and_reason(response, HTTPStatus.MOVED_PERMANENTLY) 428 self.check_status_and_reason(response, HTTPStatus.OK) 430 self.check_status_and_reason(response, HTTPStatus.MOVED_PERMANENTLY) 434 self.check_status_and_reason(response, HTTPStatus.NOT_FOUND) [all …]
|