1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2025-01-31 19:51:34 +01:00

[hentaifoundry] update unit tests

This commit is contained in:
Mike Fährmann 2017-04-10 10:50:34 +02:00
parent af82467627
commit 0456efaa5a
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 7 additions and 7 deletions

View File

@ -26,8 +26,8 @@ class HentaifoundryUserExtractor(Extractor):
]
test = [
("http://www.hentai-foundry.com/pictures/user/Tenpura", {
"url": "dee5fd22cfed3288ce1f637e405781753d7cec57",
"keyword": "0e47ebc68346087312e62885d9508fef7ad55503",
"url": "35124cf236ffec596092446322b8f0ad603571c5",
"keyword": "651f94f77e62368d7e8a91bcded519b9432fa3b6",
}),
("http://www.hentai-foundry.com/user/asdq/profile", {
"exception": exception.NotFoundError,
@ -126,10 +126,10 @@ class HentaifoundryImageExtractor(Extractor):
r"|[^/]/([^/]+)/(\d+))")]
test = [
(("http://www.hentai-foundry.com/"
"pictures/user/Tenpura/340854/notitle"), {
"url": "f3c0739bf86543697deabbed4bf99eb95a04582b",
"keyword": "96217c5becc1369c36dafa201c3c208518de8f1f",
"content": "5c14cd10deaad79a5152f9de45c9203cf76165a0",
"pictures/user/Tenpura/407501/shimakaze"), {
"url": "b68d1b0121b97e01a878beeb2e43b07cb881b5a9",
"keyword": "304479cfe00fbb723886be78b2bd6b9306a31d8a",
"content": "91bf01497c39254b6dfb234a18e8f01629c77fd1",
}),
("http://www.hentai-foundry.com/pictures/user/Tenpura/340853/", {
"exception": exception.NotFoundError,

View File

@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "0.8.2"
__version__ = "0.8.3-dev"