summaryrefslogtreecommitdiff
path: root/test/testlib/__init__.py
blob: d7daaddf8ba156733466deacab308b92f66595f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""Enhance unittest and instrument SQLAlchemy classes for testing.

Load after sqlalchemy imports to use instrumented stand-ins like Table.
"""

import testlib.config
from testlib.schema import Table, Column
from testlib.orm import mapper
import testlib.testing as testing
from testlib.testing import rowset
from testlib.testing import PersistTest, AssertMixin, ORMTest, SQLCompileTest
import testlib.profiling as profiling
import testlib.engines as engines


__all__ = ('testing',
           'mapper',
           'Table', 'Column',
           'rowset',
           'PersistTest', 'AssertMixin', 'ORMTest', 'SQLCompileTest',
           'profiling', 'engines')