SickGear/lib/sqlalchemy/testing/__init__.py

23 lines
716 B
Python
Raw Normal View History

from __future__ import absolute_import
2014-05-05 03:25:51 +00:00
from .warnings import testing_warn, assert_warnings, resetwarnings
from . import config
from .exclusions import db_spec, _is_excluded, fails_if, skip_if, future,\
fails_on, fails_on_everything_except, skip, only_on, exclude, against,\
_server_version, only_if
2014-05-05 03:25:51 +00:00
from .assertions import emits_warning, emits_warning_on, uses_deprecated, \
eq_, ne_, is_, is_not_, startswith_, assert_raises, \
assert_raises_message, AssertsCompiledSQL, ComparesTables, \
AssertsExecutionResults
2014-05-05 03:25:51 +00:00
from .util import run_as_contextmanager, rowset, fail, provide_metadata, adict
crashes = skip
from .config import db, requirements as requires
2014-05-05 03:25:51 +00:00
from . import mock