diff options
Diffstat (limited to 'test/alltests.py')
-rw-r--r-- | test/alltests.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/alltests.py b/test/alltests.py index 167bef9ea..cee36d0f0 100644 --- a/test/alltests.py +++ b/test/alltests.py @@ -3,8 +3,12 @@ import testbase testbase.echo = False - -modules_to_test = ('attributes', 'historyarray', 'pool', 'engines', 'query', 'types', 'mapper', 'objectstore') +def suite(): + modules_to_test = ('attributes', 'historyarray', 'pool', 'engines', 'query', 'types', 'mapper', 'objectstore') + alltests = unittest.TestSuite() + for module in map(__import__, modules_to_test): + alltests.addTest(unittest.findTestCases(module)) + return alltests if __name__ == '__main__': testbase.runTests(suite()) |