kombu/funtests/tests/test_amqplib.py

15 lines
313 B
Python

from nose import SkipTest
from funtests import transport
class test_amqplib(transport.TransportCase):
transport = 'amqplib'
prefix = 'amqplib'
def before_connect(self):
try:
import amqplib # noqa
except ImportError:
raise SkipTest('amqplib not installed')