2010-11-12 10:34:35 +00:00
|
|
|
from nose import SkipTest
|
|
|
|
|
2010-11-12 10:50:18 +00:00
|
|
|
from funtests import transport
|
2010-11-12 10:34:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
class test_sqla(transport.TransportCase):
|
|
|
|
transport = "sqlalchemy"
|
|
|
|
prefix = "sqlalchemy"
|
|
|
|
event_loop_max = 10
|
|
|
|
connection_options = {"hostname": "sqlite://"}
|
|
|
|
|
|
|
|
def before_connect(self):
|
|
|
|
try:
|
2011-04-21 16:29:51 +00:00
|
|
|
import sqlakombu # noqa
|
2010-11-12 10:34:35 +00:00
|
|
|
except ImportError:
|
2010-11-12 10:50:18 +00:00
|
|
|
raise SkipTest("kombu-sqlalchemy not installed")
|