def METHOD_NAME(app):
    res = app.get(url_for("group.index"))
    assert 'href="/group/?q=&amp;sort=&amp;page=2"' in res, res
    grp_numbers = scrape_search_results(res.data, "group")
    assert [
        "00",
        "01",
        "02",
        "03",
        "04",
        "05",
        "06",
        "07",
        "08",
        "09",
        "10",
        "11",
        "12",
        "13",
        "14",
        "15",
        "16",
        "17",
        "18",
        "19",
    ] == grp_numbers
    res = app.get(url_for("group.index", page=2))
    assert 'href="/group/?q=&amp;sort=&amp;page=1"' in res
    grp_numbers = scrape_search_results(res.data, "group")
    assert ["20", "21"] == grp_numbers