mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-05 23:37:20 -04:00
17d3c8764e
- Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase - testing.db has the configured db - Fixed up the perf/* scripts
22 lines
551 B
Python
22 lines
551 B
Python
import testenv; testenv.configure_for_tests()
|
|
import unittest
|
|
|
|
import orm.alltests as orm
|
|
import base.alltests as base
|
|
import sql.alltests as sql
|
|
import engine.alltests as engine
|
|
import dialect.alltests as dialect
|
|
import ext.alltests as ext
|
|
import zblog.alltests as zblog
|
|
import profiling.alltests as profiling
|
|
|
|
def suite():
|
|
alltests = unittest.TestSuite()
|
|
for suite in (base, engine, sql, dialect, orm, ext, zblog, profiling):
|
|
alltests.addTest(suite.suite())
|
|
return alltests
|
|
|
|
|
|
if __name__ == '__main__':
|
|
testenv.main(suite())
|