def wrapped(self, view_callable): """Return a mock view callable wrapped in paginate_query().""" return paginate_query(view_callable, self.PAGE_SIZE)