Added functional tests for sqlalchemy-kombu

This commit is contained in:
Ask Solem 2010-11-12 11:34:35 +01:00
parent 5beed9d000
commit 8747025b92
1 changed files with 16 additions and 0 deletions

View File

@ -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")