def METHOD_NAME(self):
    resp_mock = self.mock_response(429, {"Retry-After": "120"})
    try:
        Response(resp_mock, mock.MagicMock())
    except RateLimitReachedError as e:
        self.assertEqual(e.retry_after, 120)
    except Exception:
        # We should have got a RateLimitReachedError
        self.fail("Caught exception should have been RateLimitReachedError")
    else:
        # We should have got an exception
        self.fail("HTTP Status 429 response didn't raised an exception")