Skip to content

Commit b5a458e

Browse files
Include image.iccProfileDefined in tests
1 parent 5a0444e commit b5a458e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_image.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,10 @@ def test_Image(self):
115115
image.clearXmpData()
116116
self.assertEqual(len(image.xmpData()), 0)
117117
self.assertEqual(len(image.iccProfile()), 672)
118+
self.check_result(image.iccProfileDefined(), bool, True)
118119
image.clearIccProfile()
119120
self.assertEqual(len(image.iccProfile()), 0)
121+
self.check_result(image.iccProfileDefined(), bool, False)
120122
# test other methods
121123
image.readMetadata()
122124
self.check_result(image.byteOrder(),

0 commit comments

Comments
 (0)