update unit test results
This commit is contained in:
@@ -53,17 +53,17 @@ class MangaparkChapterExtractor(Extractor):
|
|||||||
r"([^/]+/s(\d+)(?:/v([^/]+))?/c(\d+)(?:([^/]+)|/e(\d+))?)")]
|
r"([^/]+/s(\d+)(?:/v([^/]+))?/c(\d+)(?:([^/]+)|/e(\d+))?)")]
|
||||||
test = [
|
test = [
|
||||||
("http://mangapark.me/manga/gosu/s2/c55", {
|
("http://mangapark.me/manga/gosu/s2/c55", {
|
||||||
"url": "fefe84492d9118de5962563fbecb9362051c52d5",
|
"url": "482d4a27c1e7f03cff8afac145d06f3ddeac82bb",
|
||||||
"keyword": "652b38c40bdfb5592456b6e7524a3acfdef9fae6",
|
"keyword": "bd97ca24ef344b44292910384215ef3f1005ea2e",
|
||||||
}),
|
}),
|
||||||
(("http://mangapark.me/manga/"
|
(("http://mangapark.me/manga/"
|
||||||
"ad-astra-per-aspera-hata-kenjirou/s1/c1.2"), {
|
"ad-astra-per-aspera-hata-kenjirou/s1/c1.2"), {
|
||||||
"url": "64b47f9837d50c3e57793ff6703d840ef7808c52",
|
"url": "f325ce264df390c5ba9607c52a7e7b0829672404",
|
||||||
"keyword": "f28eb26b4966bebda0e761f241c2dd49e505ce13",
|
"keyword": "6e56986610cb2da9917d0d9d3217d700fbc48665",
|
||||||
}),
|
}),
|
||||||
("http://mangapark.me/manga/gekkan-shoujo-nozaki-kun/s2/c70/e2/1", {
|
("http://mangapark.me/manga/gekkan-shoujo-nozaki-kun/s2/c70/e2/1", {
|
||||||
"url": "f8915e25895d4b336892f8a6bd27d26cdb337045",
|
"url": "8534c8286a18c4db47606f84a4df9f1a42bab291",
|
||||||
"keyword": "34aa6ca3bdf5078f839cbf68ff68e39728cf248b",
|
"keyword": "46a332caa65ef646c9405f69947c27f0dbc5430e",
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class PixivUserExtractor(Extractor):
|
|||||||
r"member(?:_illust)?\.php\?id=(\d+)"]
|
r"member(?:_illust)?\.php\?id=(\d+)"]
|
||||||
test = [
|
test = [
|
||||||
("http://www.pixiv.net/member_illust.php?id=173530", {
|
("http://www.pixiv.net/member_illust.php?id=173530", {
|
||||||
"url": "8f2fc0437e2095ab750c4340a4eba33ec6269477",
|
"url": "852c31ad83b6840bacbce824d85f2a997889efb7",
|
||||||
}),
|
}),
|
||||||
("http://www.pixiv.net/member_illust.php?id=173531", {
|
("http://www.pixiv.net/member_illust.php?id=173531", {
|
||||||
"exception": exception.NotFoundError,
|
"exception": exception.NotFoundError,
|
||||||
@@ -157,7 +157,7 @@ class PixivWorkExtractor(PixivUserExtractor):
|
|||||||
test = [
|
test = [
|
||||||
(("http://www.pixiv.net/member_illust.php"
|
(("http://www.pixiv.net/member_illust.php"
|
||||||
"?mode=medium&illust_id=966412"), {
|
"?mode=medium&illust_id=966412"), {
|
||||||
"url": "efb622f065b0871e92195e7bee0b4d75bd687d8d",
|
"url": "90c1715b07b0d1aad300bce256a0bc71f42540ba",
|
||||||
"content": "69a8edfb717400d1c2e146ab2b30d2c235440c5a",
|
"content": "69a8edfb717400d1c2e146ab2b30d2c235440c5a",
|
||||||
}),
|
}),
|
||||||
(("http://www.pixiv.net/member_illust.php"
|
(("http://www.pixiv.net/member_illust.php"
|
||||||
@@ -166,7 +166,7 @@ class PixivWorkExtractor(PixivUserExtractor):
|
|||||||
}),
|
}),
|
||||||
(("http://i1.pixiv.net/c/600x600/img-master/"
|
(("http://i1.pixiv.net/c/600x600/img-master/"
|
||||||
"img/2008/06/13/00/29/13/966412_p0_master1200.jpg"), {
|
"img/2008/06/13/00/29/13/966412_p0_master1200.jpg"), {
|
||||||
"url": "efb622f065b0871e92195e7bee0b4d75bd687d8d",
|
"url": "90c1715b07b0d1aad300bce256a0bc71f42540ba",
|
||||||
}),
|
}),
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -191,7 +191,7 @@ class PixivFavoriteExtractor(PixivUserExtractor):
|
|||||||
directory_fmt = ["{category}", "bookmarks", "{artist-id}-{artist-nick}"]
|
directory_fmt = ["{category}", "bookmarks", "{artist-id}-{artist-nick}"]
|
||||||
pattern = [r"(?:https?://)?(?:www\.)?pixiv\.net/bookmark\.php\?id=(\d+)"]
|
pattern = [r"(?:https?://)?(?:www\.)?pixiv\.net/bookmark\.php\?id=(\d+)"]
|
||||||
test = [("http://www.pixiv.net/bookmark.php?id=173530", {
|
test = [("http://www.pixiv.net/bookmark.php?id=173530", {
|
||||||
"url": "0110c5c2ee9612a0362e26f7481a8916b6f410fe",
|
"url": "e717eb511500f2fa3497aaee796a468ecf685cc4",
|
||||||
})]
|
})]
|
||||||
|
|
||||||
def __init__(self, match):
|
def __init__(self, match):
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ skip = [
|
|||||||
# dont work on travis-ci
|
# dont work on travis-ci
|
||||||
"exhentai", "kissmanga", "mangafox", "dynastyscans",
|
"exhentai", "kissmanga", "mangafox", "dynastyscans",
|
||||||
# temporary issues
|
# temporary issues
|
||||||
"mangashare",
|
"mangashare", "readcomics",
|
||||||
]
|
]
|
||||||
# enable selective testing for direct calls
|
# enable selective testing for direct calls
|
||||||
if __name__ == '__main__' and len(sys.argv) > 1:
|
if __name__ == '__main__' and len(sys.argv) > 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user