From 0876541e43d420b61cbeb34059a6676b2ab06ade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 30 Dec 2017 19:19:36 +0100 Subject: [PATCH] [seiga] update tests --- gallery_dl/extractor/seiga.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/seiga.py b/gallery_dl/extractor/seiga.py index 210ea303..ad3eea01 100644 --- a/gallery_dl/extractor/seiga.py +++ b/gallery_dl/extractor/seiga.py @@ -74,7 +74,21 @@ class SeigaUserExtractor(SeigaExtractor): test = [ ("http://seiga.nicovideo.jp/user/illust/39537793", { "pattern": r"https://lohas\.nicoseiga\.jp/priv/[0-9a-f]+/\d+/\d+", - "count": 2, + "count": 3, + "keyword": { + "user": { + "id": 39537793, + "message": str, + "name": "Neko", + }, + "clips": int, + "comments": int, + "count": int, + "extension": None, + "image_id": int, + "title": str, + "views": int, + }, }), ("http://seiga.nicovideo.jp/user/illust/79433", { "exception": exception.NotFoundError,