summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_path_envelope.py
blob: 4b65c802107705d98e511e211988e018529357fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# coding=utf-8

from path_envelope import Envelope
from inkex.tester import ComparisonMixin, TestCase


class PathEnvelopeTest(ComparisonMixin, TestCase):
    """Test envelope similar to perspective"""

    effect_class = Envelope
    comparisons = [("--id=text", "--id=envelope")]
    compare_file = "svg/perspective.svg"


class PathEnvelopeGroupTest(ComparisonMixin, TestCase):
    effect_class = Envelope
    comparisons = [("--id=obj", "--id=envelope")]
    compare_file = "svg/perspective_groups.svg"