def METHOD_NAME(
    verify_unpaged, comment_factory, post_factory, input, expected_comment_text
):
    db.session.add(comment_factory(text="t1", post=post_factory(id=1)))
    db.session.add(comment_factory(text="t2", post=post_factory(id=2)))
    db.session.flush()
    verify_unpaged(input, expected_comment_text)