summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/__init__.py
blob: 8ad856e2b7d2ef73317074fa18bf4fb075a32bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# testing/__init__.py
# Copyright (C) 2005-2014 the SQLAlchemy authors and contributors <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php


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

from .assertions import emits_warning, emits_warning_on, uses_deprecated, \
        eq_, ne_, is_, is_not_, startswith_, assert_raises, \
        assert_raises_message, AssertsCompiledSQL, ComparesTables, \
        AssertsExecutionResults, expect_deprecated

from .util import run_as_contextmanager, rowset, fail, provide_metadata, adict

crashes = skip

from .config import db, requirements as requires

from . import mock