blob: b7abcf050fae2a7b3752f52c276ca183fe1c5588 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
"""Test Plotter extension"""
from plotter import Plot
from inkex.tester import ComparisonMixin, TestCase
from inkex.tester.filters import CompareReplacement
class TestPlotter(ComparisonMixin, TestCase):
"""Test the plotter extension"""
stderr_output = True
effect_class = Plot
compare_filter_save = True
compare_filters = [
CompareReplacement((';', '\n'))
]
comparisons = [
('--serialPort=[test]',), # HPGL
('--serialPort=[test]', '--commandLanguage=DMPL'),
('--serialPort=[test]', '--commandLanguage=KNK'),
]
|