kombu/t/integration/tests/test_SQS.py

22 lines
604 B
Python
Raw Normal View History

from __future__ import absolute_import, unicode_literals
from funtests import transport
2016-04-05 21:57:00 +00:00
from kombu.tests.case import skip
2016-04-05 21:57:00 +00:00
@skip.unless_environ('AWS_ACCESS_KEY_ID')
@skip.unless_environ('AWS_SECRET_ACCESS_KEY')
@skip.unless_module('boto3')
class test_SQS(transport.TransportCase):
2013-04-15 16:44:13 +00:00
transport = 'SQS'
prefix = 'sqs'
event_loop_max = 100
message_size_limit = 4192 # SQS max body size / 2.
2011-06-07 14:20:09 +00:00
reliable_purge = False
2014-05-27 13:41:20 +00:00
#: does not guarantee FIFO order, even in simple cases
suppress_disorder_warning = True
def after_connect(self, connection):
2011-06-05 18:02:51 +00:00
connection.channel().sqs