summaryrefslogtreecommitdiff
path: root/funtests/tests/test_sqla.py
blob: 2a01a4a27c9f12b198641b996bb664151606d12e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from nose import SkipTest

from funtests import transport


class test_sqla(transport.TransportCase):
    transport = "sqlalchemy"
    prefix = "sqlalchemy"
    event_loop_max = 10
    connection_options = {"hostname": "sqlite://"}

    def before_connect(self):
        try:
            import sqlakombu  # noqa
        except ImportError:
            raise SkipTest("kombu-sqlalchemy not installed")