2 # -*- coding: ISO-8859-1 -*-
5 # Copyright (C) 2002 Jörg Lehmann <joergl@users.sourceforge.net>
6 # Copyright (C) 2002 André Wobst <wobsta@users.sourceforge.net>
8 # This file is part of PyX (http://pyx.sourceforge.net/).
10 # PyX is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; either version 2 of the License, or
13 # (at your option) any later version.
15 # PyX is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with PyX; if not, write to the Free Software
22 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 import sys
; sys
.path
[:0] = ["../..", ".."]
28 from test_attr
import AttrTestCase
29 from test_data
import DataTestCase
30 from test_mathtree
import MathTreeTestCase
31 from test_frac
import FracTestCase
32 from test_part
import LinPartTestCase
, LogPartTestCase
33 from test_texter
import TexterTestCase
34 from test_trafo
import TrafoTestCase
35 from test_unit
import UnitTestCase
36 from test_helper
import AttrTestCase
as AttrTestCaseOld
38 # construct the test suite automagically
40 suite
= unittest
.TestSuite((unittest
.makeSuite(AttrTestCase
, 'test'),
41 unittest
.makeSuite(DataTestCase
, 'test'),
42 unittest
.makeSuite(MathTreeTestCase
, 'test'),
43 unittest
.makeSuite(FracTestCase
, 'test'),
44 unittest
.makeSuite(LinPartTestCase
, 'test'),
45 unittest
.makeSuite(LogPartTestCase
, 'test'),
46 unittest
.makeSuite(TexterTestCase
, 'test'),
47 unittest
.makeSuite(UnitTestCase
, 'test'),
48 unittest
.makeSuite(AttrTestCaseOld
, 'test'),
49 unittest
.makeSuite(TrafoTestCase
, 'test'),
52 if __name__
== "__main__":
53 runner
= unittest
.TextTestRunner()