[hentaifoundry] update unit tests
This commit is contained in:
@@ -26,8 +26,8 @@ class HentaifoundryUserExtractor(Extractor):
|
|||||||
]
|
]
|
||||||
test = [
|
test = [
|
||||||
("http://www.hentai-foundry.com/pictures/user/Tenpura", {
|
("http://www.hentai-foundry.com/pictures/user/Tenpura", {
|
||||||
"url": "dee5fd22cfed3288ce1f637e405781753d7cec57",
|
"url": "35124cf236ffec596092446322b8f0ad603571c5",
|
||||||
"keyword": "0e47ebc68346087312e62885d9508fef7ad55503",
|
"keyword": "651f94f77e62368d7e8a91bcded519b9432fa3b6",
|
||||||
}),
|
}),
|
||||||
("http://www.hentai-foundry.com/user/asdq/profile", {
|
("http://www.hentai-foundry.com/user/asdq/profile", {
|
||||||
"exception": exception.NotFoundError,
|
"exception": exception.NotFoundError,
|
||||||
@@ -126,10 +126,10 @@ class HentaifoundryImageExtractor(Extractor):
|
|||||||
r"|[^/]/([^/]+)/(\d+))")]
|
r"|[^/]/([^/]+)/(\d+))")]
|
||||||
test = [
|
test = [
|
||||||
(("http://www.hentai-foundry.com/"
|
(("http://www.hentai-foundry.com/"
|
||||||
"pictures/user/Tenpura/340854/notitle"), {
|
"pictures/user/Tenpura/407501/shimakaze"), {
|
||||||
"url": "f3c0739bf86543697deabbed4bf99eb95a04582b",
|
"url": "b68d1b0121b97e01a878beeb2e43b07cb881b5a9",
|
||||||
"keyword": "96217c5becc1369c36dafa201c3c208518de8f1f",
|
"keyword": "304479cfe00fbb723886be78b2bd6b9306a31d8a",
|
||||||
"content": "5c14cd10deaad79a5152f9de45c9203cf76165a0",
|
"content": "91bf01497c39254b6dfb234a18e8f01629c77fd1",
|
||||||
}),
|
}),
|
||||||
("http://www.hentai-foundry.com/pictures/user/Tenpura/340853/", {
|
("http://www.hentai-foundry.com/pictures/user/Tenpura/340853/", {
|
||||||
"exception": exception.NotFoundError,
|
"exception": exception.NotFoundError,
|
||||||
|
|||||||
@@ -6,4 +6,4 @@
|
|||||||
# it under the terms of the GNU General Public License version 2 as
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
# published by the Free Software Foundation.
|
# published by the Free Software Foundation.
|
||||||
|
|
||||||
__version__ = "0.8.2"
|
__version__ = "0.8.3-dev"
|
||||||
|
|||||||
Reference in New Issue
Block a user