[imagebam] raise 'NotFoundError' for deleted images (#8890)

This commit is contained in:
Mike Fährmann
2026-01-18 21:27:27 +01:00
parent 8a84714372
commit 8c9ca609ea
2 changed files with 11 additions and 2 deletions

View File

@@ -87,4 +87,11 @@ __tests__ = (
"url" : "https://images3.imagebam.com/d2/7a/d9/b728aa119132443.jpg",
},
{
"#url" : "https://www.imagebam.com/image/40a481151474621",
"#comment" : "deleted image (#8890)",
"#class" : imagebam.ImagebamImageExtractor,
"#exception": exception.NotFoundError,
},
)