def _get_home_page(self, **kwargs: Any) -> HttpResponse:
    with patch('zerver.lib.events.request_event_queue', return_value=42), patch('zerver.lib.events.get_user_events', return_value=[]):
        result = self.client_get('/', dict(**kwargs))
    return result
def _get_home_page(self, **kwargs: Any) -> HttpResponse:
    with patch('zerver.lib.events.request_event_queue', return_value=42), patch('zerver.lib.events.get_user_events', return_value=[]):
        result = self.client_get('/', dict(**kwargs))
    return result