blob: ee70ea83ae2b6bf4ee6f14d2ce05b394d1ed9b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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"),
]
|