Report not server error on 300 response.
(self)
| 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.""" |
| 54 | resp = requests.Response() |
| 55 | resp.status_code = 300 |
| 56 | err = APIError('', response=resp) |
| 57 | assert err.is_server_error() is False |
| 58 | |
| 59 | def test_is_server_error_400(self): |
| 60 | """Report not server error on 400 response.""" |
nothing calls this directly
no test coverage detected