[tests] update extractor results

This commit is contained in:
Mike Fährmann
2024-01-20 18:02:36 +01:00
parent acc94ac187
commit 0d367ce1b9
38 changed files with 240 additions and 192 deletions

View File

@@ -12,7 +12,7 @@ __tests__ = (
"#url" : "https://unsplash.com/photos/red-wooden-cross-on-gray-concrete-pathway-between-green-trees-during-daytime-kaoHI0iHJPM",
"#category": ("", "unsplash", "image"),
"#class" : unsplash.UnsplashImageExtractor,
"#urls" : "https://images.unsplash.com/photo-1601823984263-b87b59798b70?ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzAwODY2NDE4fA&ixlib=rb-4.0.3",
"#pattern" : r"https://images\.unsplash\.com/photo-1601823984263-b87b59798b",
"alt_description": "red wooden cross on gray concrete pathway between green trees during daytime",
"blur_hash" : "LIAwhq%e4TRjXAIBMyt89GRj%fj[",
@@ -66,25 +66,18 @@ __tests__ = (
"sunrise",
"traditional",
"shrine",
"grey",
"wallpaper",
"grey",
"arbour",
"garden",
"outdoors",
"garden",
"gate",
],
"tags_preview": list,
"topic_submissions": {},
"topics" : [],
"updated_at" : "2023-11-24T08:17:36Z",
"urls": {
"full" : "https://images.unsplash.com/photo-1601823984263-b87b59798b70?crop=entropy&cs=srgb&fm=jpg&ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzAwODY2NDE4fA&ixlib=rb-4.0.3&q=85",
"raw" : "https://images.unsplash.com/photo-1601823984263-b87b59798b70?ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzAwODY2NDE4fA&ixlib=rb-4.0.3",
"regular" : "https://images.unsplash.com/photo-1601823984263-b87b59798b70?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzAwODY2NDE4fA&ixlib=rb-4.0.3&q=80&w=1080",
"small" : "https://images.unsplash.com/photo-1601823984263-b87b59798b70?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzAwODY2NDE4fA&ixlib=rb-4.0.3&q=80&w=400",
"small_s3": "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1601823984263-b87b59798b70",
"thumb" : "https://images.unsplash.com/photo-1601823984263-b87b59798b70?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzAwODY2NDE4fA&ixlib=rb-4.0.3&q=80&w=200",
},
"updated_at" : "2024-01-19T08:21:54Z",
"urls": dict,
"user": {
"accepted_tos" : True,
"bio" : "Professional photographer.\r\nBased in Japan.",
@@ -121,7 +114,7 @@ __tests__ = (
"total_photos" : 86,
"total_promoted_photos": 24,
"twitter_username" : None,
"updated_at" : "2023-11-24T19:15:32Z",
"updated_at" : "2023-11-27T07:10:52Z",
"username" : "_______life_"
},
"views": range(2000000, 10000000),