summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_path_envelope.py
blob: b05c93c6675926de2b52c51f53989159455b55b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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'