Commit 4509e87d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

test: follow recent ImageMagick spec.

Note that raster image to SVG conversion no longer works without potrace.
parent 59c3e699
......@@ -831,14 +831,6 @@ return True
image_reference + '?format=jpg', credential)
self.assertEqual(response.getHeader('content-type'), 'image/jpeg')
# testing Image conversions, svg
# disable Image permissiions checks format checks
createZODBPythonScript(portal.portal_skins.custom, 'Image_checkConversionFormatPermission',
'**kw', 'return 1')
response = self.publish(website.absolute_url_path() + '/' +\
image_reference + '?format=svg', credential)
self.assertEqual(response.getHeader('content-type'), 'image/svg+xml')
# testing Image conversions, resizing
response = self.publish(website.absolute_url_path() + '/' +\
image_reference + '?display=large', credential)
......
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