Revision 244,
313 bytes
checked in by marcus, 13 years ago
(diff) |
- property changes (svn:executable deleted)
- first structure for task #27
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Rev Id Date
|
Line | |
---|
1 | # -*- coding: utf-8 -*- |
---|
2 | |
---|
3 | """ run all test found """ |
---|
4 | |
---|
5 | from glob import glob |
---|
6 | import os |
---|
7 | import unittest |
---|
8 | |
---|
9 | suite = unittest.TestSuite() |
---|
10 | |
---|
11 | for test in glob("test_*.py"): |
---|
12 | mod = os.path.splitext(test)[0] |
---|
13 | imp = __import__(mod, globals(), locals()) |
---|
14 | |
---|
15 | suite.addTest(imp.suite()) |
---|
16 | |
---|
17 | unittest.main(defaultTest="suite") |
---|
Note: See
TracBrowser
for help on using the repository browser.