fix tests
This commit is contained in:
@@ -15,8 +15,8 @@ class FourplebsThreadExtractor(chan.FoolfuukaThreadExtractor):
|
||||
"""Extractor for images from threads on 4plebs.org"""
|
||||
category = "4plebs"
|
||||
pattern = [r"(?:https?://)?(?:archive\.)?4plebs\.org/([^/]+)/thread/(\d+)"]
|
||||
test = [("https://archive.4plebs.org/tg/thread/54111182/", {
|
||||
"url": "85f54faf037dee29ad1c413142bcc45cd905be5a",
|
||||
"keyword": "59c414bddc58b77b3e481fbe1c4e4ea3d582b2d3",
|
||||
test = [("https://archive.4plebs.org/tg/thread/54059290", {
|
||||
"url": "fd823f17b5001442b941fddcd9ec91bafedfbc79",
|
||||
"keyword": "97f66d93f6c87b9dc33314a5f9dc7add6ce067e7",
|
||||
})]
|
||||
root = "https://archive.4plebs.org"
|
||||
|
||||
@@ -26,5 +26,5 @@ class YonkouprodMangaExtractor(foolslide.FoolslideMangaExtractor):
|
||||
category = "yonkouprod"
|
||||
pattern = foolslide.manga_pattern(r"(?:www\.)?yonkouprod\.com/reader")
|
||||
test = [("https://yonkouprod.com/reader/series/attack-on-titan/", {
|
||||
"url": "0573665fc91e56d9e7f05bf7a4415af2c59cb43b",
|
||||
"url": "f8ec412bd0996d95548b6ad8c415419cf37a942c",
|
||||
})]
|
||||
|
||||
@@ -54,7 +54,7 @@ skip = [
|
||||
# don't work on travis-ci
|
||||
"exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie",
|
||||
# temporary issues
|
||||
"chronos", "coreimg", "imgbox",
|
||||
"turboimagehost", "twitter",
|
||||
]
|
||||
# enable selective testing for direct calls
|
||||
if __name__ == '__main__' and len(sys.argv) > 1:
|
||||
|
||||
Reference in New Issue
Block a user