def METHOD_NAME(mock_requests):
    mock_response = requests.Response()
    mock_response.status_code = 418
    mock_requests.return_value = mock_response
    with pytest.raises(requests.HTTPError):
        observation_utils.get_calibration_blocks_for_time_range('', '', '', FakeContext())