diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:50:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:50:49 +0000 |
commit | c853ffb5b2f75f5a889ed2e3ef89b818a736e87a (patch) | |
tree | 7d13a0883bb7936b84d6ecdd7bc332b41ed04bee /share/extensions/tests/test_path_to_absolute.py | |
parent | Initial commit. (diff) | |
download | inkscape-c853ffb5b2f75f5a889ed2e3ef89b818a736e87a.tar.xz inkscape-c853ffb5b2f75f5a889ed2e3ef89b818a736e87a.zip |
Adding upstream version 1.3+ds.upstream/1.3+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/extensions/tests/test_path_to_absolute.py')
-rw-r--r-- | share/extensions/tests/test_path_to_absolute.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/share/extensions/tests/test_path_to_absolute.py b/share/extensions/tests/test_path_to_absolute.py new file mode 100644 index 0000000..3b4af14 --- /dev/null +++ b/share/extensions/tests/test_path_to_absolute.py @@ -0,0 +1,19 @@ +# coding=utf-8 + +from path_to_absolute import ToAbsolute +from inkex.tester import ComparisonMixin, TestCase + + +class PathToAbsoluteTest(ComparisonMixin, TestCase): + """Test converting objects to absolute""" + + effect_class = ToAbsolute + comparisons = [ + ( + "--id=c1", + "--id=c2", + "--id=c3", + ), + ("--id=r1", "--id=r2", "--id=r3", "--id=slicerect1"), + ("--id=p1", "--id=p2", "--id=s1", "--id=u1"), + ] |