diff options
Diffstat (limited to 'test/alltests.py')
-rw-r--r-- | test/alltests.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/alltests.py b/test/alltests.py index cee36d0f0..167bef9ea 100644 --- a/test/alltests.py +++ b/test/alltests.py @@ -3,12 +3,8 @@ import testbase testbase.echo = False -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 + +modules_to_test = ('attributes', 'historyarray', 'pool', 'engines', 'query', 'types', 'mapper', 'objectstore') if __name__ == '__main__': testbase.runTests(suite()) |