update tests

pull/133/head
Mike Fährmann 6 years ago
parent 42a346413b
commit f3793660ef
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -24,8 +24,9 @@ class BehanceGalleryExtractor(Extractor):
test = [ test = [
("https://www.behance.net/gallery/17386197", { ("https://www.behance.net/gallery/17386197", {
"count": 2, "count": 2,
"url": "8c692c208b74fed789288eda9230715be8d02057",
"keyword": { "keyword": {
"title": str, "title": 're:"Hi". A short story about the important things ',
"user": "Place Studio, Julio César Velazquez", "user": "Place Studio, Julio César Velazquez",
"fields": ["Animation", "Character Design", "Directing"], "fields": ["Animation", "Character Design", "Directing"],
"date": 1401810111, "date": 1401810111,
@ -34,6 +35,11 @@ class BehanceGalleryExtractor(Extractor):
"comments": int, "comments": int,
}, },
}), }),
("https://www.behance.net/gallery/13706563/Fundacja-ING-Dzieciom", {
"count": 7,
"url": "3b78be2a5652524529962cf2dc81b383129c1363",
"keyword": {"user": "UVMW Studio"},
}),
] ]
def __init__(self, match): def __init__(self, match):

@ -150,7 +150,7 @@ class FlickrGalleryExtractor(FlickrExtractor):
test = [(("https://www.flickr.com/photos/flickr/" test = [(("https://www.flickr.com/photos/flickr/"
"galleries/72157681572514792/"), { "galleries/72157681572514792/"), {
"url": "1e0e300fa5fe8c49ba5dfa7ccca0cb0da8a04f93", "url": "1e0e300fa5fe8c49ba5dfa7ccca0cb0da8a04f93",
"keyword": "7dd699ce77343921e8f149555ab2486a8ba1e9ec", "keyword": "ba1f0e4bf5ee4e10071bdc272c19f015985cf055",
})] })]
def __init__(self, match): def __init__(self, match):

@ -216,9 +216,9 @@ class TurboimagehostImageExtractor(ImagehostImageExtractor):
category = "turboimagehost" category = "turboimagehost"
pattern = [(r"(?:https?://)?((?:www\.)?turboimagehost\.com/p/(\d+)" pattern = [(r"(?:https?://)?((?:www\.)?turboimagehost\.com/p/(\d+)"
r"/[^/]+\.html)")] r"/[^/]+\.html)")]
test = [("https://www.turboimagehost.com/p/29690902/test--.png.html", { test = [("https://www.turboimagehost.com/p/39078423/test--.png.html", {
"url": "ada27a4e04f9ffd5ab7cd787f4559d5b3744520b", "url": "b94de43612318771ced924cb5085976f13b3b90e",
"keyword": "a4527f14675e4512ef317ee0401940c711fbe012", "keyword": "c1391465dc7b590b0eb8ea2a8cd235733c6fce2b",
"content": "0c8768055e4e20e7c7259608b67799171b691140", "content": "0c8768055e4e20e7c7259608b67799171b691140",
})] })]
https = True https = True

@ -18,11 +18,12 @@ from gallery_dl import extractor, job, config, exception
TRAVIS_SKIP = { TRAVIS_SKIP = {
"exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie", "exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie",
"archivedmoe", "archiveofsins", "thebarchive", "fireden", "archivedmoe", "archiveofsins", "thebarchive", "fireden",
"sankaku", "idolcomplex", "mangahere", "turboimagehost", "sankaku", "idolcomplex", "mangahere",
} }
# temporary issues, etc. # temporary issues, etc.
BROKEN = { BROKEN = {
"imagetwist",
"subapics", "subapics",
} }

Loading…
Cancel
Save