Commit 8d9c6fbb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

test: small update for ImageMagick 7.

parent 977fc66e
...@@ -2274,8 +2274,8 @@ return 1 ...@@ -2274,8 +2274,8 @@ return 1
del convert_kw['quality'] del convert_kw['quality']
image_document_image_size_no_quality,image_document_file_size_no_quality = self.getURLSizeList(url, **convert_kw) image_document_image_size_no_quality,image_document_file_size_no_quality = self.getURLSizeList(url, **convert_kw)
# check file sizes # check file sizes
self.assertTrue(image_document_file_size_100p > image_document_file_size_no_quality and \ self.assertTrue(image_document_file_size_100p >= image_document_file_size_no_quality and \
image_document_file_size_no_quality > image_document_file_size_5p, image_document_file_size_no_quality image_document_file_size_5p,
"%s should be more then %s and %s should be more them %s" % \ "%s should be more then %s and %s should be more them %s" % \
(image_document_file_size_100p, (image_document_file_size_100p,
image_document_file_size_no_quality, image_document_file_size_no_quality,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment