def test_invalid_page_number():
    url = URL('/?page=invalid')
    page = get_page_number(url=url)
    assert (page == 1)
def test_invalid_page_number():
    url = URL('/?page=invalid')
    page = get_page_number(url=url)
    assert (page == 1)