From cca66b9ec4e494c1d919bff0f71a820d8afab1fa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:24:48 +0200 Subject: Adding upstream version 1.2.2. Signed-off-by: Daniel Baumann --- share/extensions/tests/test_image_attributes.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 share/extensions/tests/test_image_attributes.py (limited to 'share/extensions/tests/test_image_attributes.py') diff --git a/share/extensions/tests/test_image_attributes.py b/share/extensions/tests/test_image_attributes.py new file mode 100644 index 0000000..634a69f --- /dev/null +++ b/share/extensions/tests/test_image_attributes.py @@ -0,0 +1,17 @@ +# coding=utf-8 +from image_attributes import ImageAttributes +from inkex.tester import ComparisonMixin, TestCase + + +class TestSetAttrImageBasic(ComparisonMixin, TestCase): + effect_class = ImageAttributes + compare_file = "svg/images.svg" + comparisons = [ + (), # All images in the document (basic) + ("--id=image174", "--aspect_ratio=xMinYMin", '--tab="tab_aspect_ratio"'), + ( + "--id=embeded_image01", + "--image_rendering=optimizeSpeed", + '--tab="tab_image_rendering"', + ), + ] -- cgit v1.2.3