Report not server error on 200 response.
(self)
| 43 | assert err.status_code == 500 |
| 44 | |
| 45 | def test_is_server_error_200(self): |
| 46 | """Report not server error on 200 response.""" |
| 47 | resp = requests.Response() |
| 48 | resp.status_code = 200 |
| 49 | err = APIError('', response=resp) |
| 50 | assert err.is_server_error() is False |
| 51 | |
| 52 | def test_is_server_error_300(self): |
| 53 | """Report not server error on 300 response.""" |
nothing calls this directly
no test coverage detected