diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-06-05 17:25:51 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-06-05 17:25:51 +0000 |
| commit | 120dcee5a71187d4bebfe50aedbbefb09184cac1 (patch) | |
| tree | f2a090a510c8df405d0b1bef2936bafa3511be07 /test/engine/alltests.py | |
| parent | f8314ef9ff08af5f104731de402d6e6bd8c043f3 (diff) | |
| download | sqlalchemy-120dcee5a71187d4bebfe50aedbbefb09184cac1.tar.gz | |
reorganized unit tests into subdirectories
Diffstat (limited to 'test/engine/alltests.py')
| -rw-r--r-- | test/engine/alltests.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/engine/alltests.py b/test/engine/alltests.py new file mode 100644 index 000000000..c63cb2861 --- /dev/null +++ b/test/engine/alltests.py @@ -0,0 +1,28 @@ +import testbase +import unittest + + +def suite(): + modules_to_test = ( + # connectivity, execution + 'engine.parseconnect', + 'engine.pool', + 'engine.transaction', + + # schema/tables + 'engine.reflection', + + 'engine.proxy_engine' + ) + alltests = unittest.TestSuite() + for name in modules_to_test: + mod = __import__(name) + for token in name.split('.')[1:]: + mod = getattr(mod, token) + alltests.addTest(unittest.findTestCases(mod, suiteClass=None)) + return alltests + + + +if __name__ == '__main__': + testbase.runTests(suite()) |
