mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-02 13:59:02 -04:00
d76dc73f33
us a 2.5-frozen copy of unittest so we're insulated from unittest changes.
25 lines
722 B
Python
25 lines
722 B
Python
import testenv; testenv.configure_for_tests()
|
|
from testlib import sa_unittest as 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
|
|
|
|
# The profiling tests are sensitive to foibles of CPython VM state, so
|
|
# run them first. Ideally, each should be run in a fresh interpreter.
|
|
|
|
def suite():
|
|
alltests = unittest.TestSuite()
|
|
for suite in (profiling, base, engine, sql, dialect, orm, ext, zblog):
|
|
alltests.addTest(suite.suite())
|
|
return alltests
|
|
|
|
|
|
if __name__ == '__main__':
|
|
testenv.main(suite())
|