mirror of https://github.com/celery/kombu.git
Added functional tests for sqlalchemy-kombu
This commit is contained in:
parent
5beed9d000
commit
8747025b92
|
@ -0,0 +1,16 @@
|
|||
from nose import SkipTest
|
||||
|
||||
from kombu.tests.test_functional 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
|
||||
except ImportError:
|
||||
raise SkipTest("sqlalchemy-kombu not installed")
|
Loading…
Reference in New Issue