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')
def test_naver_url_with_chapter_id(): assert (naver_url( 42, 1) == 'http://comic.naver.com/webtoon/detail.nhn?titleId=42&no=1')
def test_naver_url_with_mobile(): assert (naver_url( 42, mobile=True) == 'http://m.comic.naver.com/webtoon/list.nhn?titleId=42')
def test_naver_url(): assert naver_url(3) == 'http://comic.naver.com/webtoon/list.nhn?titleId=3'
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')
def test_naver_url_with_mobile(): assert (naver_url(42, mobile=True) == 'http://m.comic.naver.com/webtoon/list.nhn?titleId=42')
def test_naver_url_with_chapter_id(): assert (naver_url(42, 1) == 'http://comic.naver.com/webtoon/detail.nhn?titleId=42&no=1')
def test_naver_url(): assert naver_url(3) == 'http://comic.naver.com/webtoon/list.nhn?titleId=3'