Ejemplo n.º 1
0
def test_naver_url_with_chapter_id_with_mobile():
    assert (naver_url(42, 1, mobile=True) ==
            'http://m.comic.naver.com/webtoon/detail.nhn?titleId=42&no=1')
Ejemplo n.º 2
0
def test_naver_url_with_chapter_id():
    assert (naver_url(
        42, 1) == 'http://comic.naver.com/webtoon/detail.nhn?titleId=42&no=1')
Ejemplo n.º 3
0
def test_naver_url_with_mobile():
    assert (naver_url(
        42,
        mobile=True) == 'http://m.comic.naver.com/webtoon/list.nhn?titleId=42')
Ejemplo n.º 4
0
def test_naver_url():
    assert naver_url(3) == 'http://comic.naver.com/webtoon/list.nhn?titleId=3'
Ejemplo n.º 5
0
def test_naver_url_with_chapter_id_with_mobile():
    assert (naver_url(42, 1, mobile=True) ==
            'http://m.comic.naver.com/webtoon/detail.nhn?titleId=42&no=1')
Ejemplo n.º 6
0
def test_naver_url_with_mobile():
    assert (naver_url(42, mobile=True) ==
            'http://m.comic.naver.com/webtoon/list.nhn?titleId=42')
Ejemplo n.º 7
0
def test_naver_url_with_chapter_id():
    assert (naver_url(42, 1) ==
            'http://comic.naver.com/webtoon/detail.nhn?titleId=42&no=1')
Ejemplo n.º 8
0
def test_naver_url():
    assert naver_url(3) == 'http://comic.naver.com/webtoon/list.nhn?titleId=3'