mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-16 05:37:16 -04:00
21 lines
492 B
Python
21 lines
492 B
Python
import testbase
|
|
import unittest
|
|
|
|
|
|
def suite():
|
|
modules_to_test = (
|
|
'profiling.compiler',
|
|
'profiling.pool',
|
|
'profiling.zoomark',
|
|
)
|
|
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.main(suite())
|