From 8747025b9274f33084f50c59a2b17c516b112be7 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Fri, 12 Nov 2010 11:34:35 +0100 Subject: [PATCH] Added functional tests for sqlalchemy-kombu --- kombu/tests/test_functional/test_sqla.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 kombu/tests/test_functional/test_sqla.py diff --git a/kombu/tests/test_functional/test_sqla.py b/kombu/tests/test_functional/test_sqla.py new file mode 100644 index 00000000..d19a4d01 --- /dev/null +++ b/kombu/tests/test_functional/test_sqla.py @@ -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")