from ptt import PttPage


board = "Gossiping"


def test_ptt_page_url():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last is True


def test_page_last_page():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last
    p.get(1)
    assert not p.is_last


91812512f8944ac61c969700438fafb121180576
<mask token>


def test_ptt_page_url():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last is True


<mask token>

<mask token>


def test_ptt_page_url():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last is True


def test_page_last_page():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last
    p.get(1)
    assert not p.is_last

<mask token>
board = 'Gossiping'


def test_ptt_page_url():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last is True


def test_page_last_page():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last
    p.get(1)
    assert not p.is_last

from ptt import PttPage
board = 'Gossiping'


def test_ptt_page_url():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last is True


def test_page_last_page():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last
    p.get(1)
    assert not p.is_last

from ptt import PttPage


board = "Gossiping"


def test_ptt_page_url():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last is True


def test_page_last_page():
    p: PttPage = PttPage.get_page(board)
    assert p.is_last
    p.get(1)
    assert not p.is_last

