Add test for PSD mimetype

This commit is contained in:
Sam Morgan 2020-07-16 08:26:42 -07:00
parent e30836be5c
commit 74e02e6c4e

View File

@ -12,6 +12,7 @@ def test_sanity():
assert im.mode == "RGB" assert im.mode == "RGB"
assert im.size == (128, 128) assert im.size == (128, 128)
assert im.format == "PSD" assert im.format == "PSD"
assert im.get_format_mimetype() == "image/vnd.adobe.photoshop"
im2 = hopper() im2 = hopper()
assert_image_similar(im, im2, 4.8) assert_image_similar(im, im2, 4.8)