replace popular/ranking tests with older ones

Metadata of several year old lists shouldn't change as much as it
would for newer ones, which makes metadata-comparisons of the output
of build_testresult_db.oy easier.
This commit is contained in:
Mike Fährmann
2017-08-31 15:09:18 +02:00
parent be30fb2f98
commit 65997d835b
6 changed files with 10 additions and 10 deletions

View File

@@ -46,7 +46,7 @@ class YanderePopularExtractor(YandereExtractor, booru.BooruPopularExtractor):
pattern = [r"(?:https?://)?(?:www\.)?yande\.re/post/popular_"
r"(by_(?:day|week|month)|recent)(?:\?([^#]*))?"]
test = [
("https://yande.re/post/popular_by_day?day=20&month=8&year=2017", {
("https://yande.re/post/popular_by_month?month=6&year=2014", {
"count": 40,
}),
("https://yande.re/post/popular_recent", None),