Report not client error on 500 response.
(self)
| 71 | assert err.is_server_error() is True |
| 72 | |
| 73 | def test_is_client_error_500(self): |
| 74 | """Report not client error on 500 response.""" |
| 75 | resp = requests.Response() |
| 76 | resp.status_code = 500 |
| 77 | err = APIError('', response=resp) |
| 78 | assert err.is_client_error() is False |
| 79 | |
| 80 | def test_is_client_error_400(self): |
| 81 | """Report client error on 400 response.""" |
nothing calls this directly
no test coverage detected