Files
sqlalchemy/test/alltests.py
T
Mike Bayer d76dc73f33 merge the test/ directory from -r5438:5439 of py3k_warnings branch. this gives
us a 2.5-frozen copy of unittest so we're insulated from unittest changes.
2008-12-18 18:11:12 +00:00

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())