mirror of https://github.com/celery/kombu.git
20 lines
458 B
Python
20 lines
458 B
Python
from funtests import transport
|
|
|
|
from nose import SkipTest
|
|
|
|
|
|
class test_beanstalk(transport.TransportCase):
|
|
transport = 'beanstalk'
|
|
prefix = 'beanstalk'
|
|
event_loop_max = 10
|
|
message_size_limit = 47662
|
|
|
|
def before_connect(self):
|
|
try:
|
|
import beanstalkc # noqa
|
|
except ImportError:
|
|
raise SkipTest('beanstalkc not installed')
|
|
|
|
def after_connect(self, connection):
|
|
connection.channel().client
|