summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_path_to_absolute.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/tests/test_path_to_absolute.py')
-rw-r--r--share/extensions/tests/test_path_to_absolute.py19
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"),
+ ]