blob: 876b59ce8815c6bbd09420e434efec686657ec0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# coding=utf-8
"""
Unit test file for ../gimp_xcf.py
Revision history:
* 2012-01-26 (jazzynico): checks defaulf parameters and file handling.
"""
from gimp_xcf import GimpXcf
from inkex.tester import ComparisonMixin, TestCase
class GimpXcfBasicTest(ComparisonMixin, TestCase):
"""Test the Gimp XCF file saving functionality"""
effect_class = GimpXcf
comparisons = [()]
class GimpXcfGuidesTest(ComparisonMixin, TestCase):
"""Test that Gimp XCF output can include guides and grids"""
effect_class = GimpXcf
compare_file = 'svg/guides.svg'
comparisons = [('-d=true', '-r=true'),]
|