5 |
# General Public License, either version 2 of the license or, |
# General Public License, either version 2 of the license or, |
6 |
# at your choice, any later version. Alternatively, you may use and |
# at your choice, any later version. Alternatively, you may use and |
7 |
# distribute under the terms of the XPL. |
# distribute under the terms of the XPL. |
8 |
# |
# |
9 |
# See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of |
# See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of |
10 |
# the licenses. |
# the licenses. |
11 |
# |
# |
12 |
# This software is distributed in the hope that it will be useful, |
# This software is distributed in the hope that it will be useful, |
13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the README |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the README |
15 |
# file for more details. |
# file for more details. |
16 |
# |
# |
17 |
|
|
18 |
""" |
""" |
19 |
testutil.py -- load *.test files and wrap them in unittest classes |
testutil.py -- load *.test files and wrap them in unittest classes |
20 |
|
|
21 |
Here, I liked the trivial test suites in doc/ far too much to let them go |
Here, I liked the trivial test suites in lava/ far too much to let them go |
22 |
(the nice thing was that you could just make a plain text file and |
(the nice thing was that you could just make a plain text file and |
23 |
start writing tests into it). So, here's a tool that looks for *.test |
start writing tests into it). So, here's a tool that looks for *.test |
24 |
files in the test/ subtree and turns them into unittest classes. |
files in the test/ subtree and turns them into unittest classes. |