for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from loafer.ext.aws.routes import SQSRoute, SNSQueueRoute
from loafer.ext.aws.message_translators import SQSMessageTranslator, SNSMessageTranslator
def test_sqs_route():
route = SQSRoute('what', 'ever')
assert isinstance(route.message_translator, SQSMessageTranslator)
SQSRoute
message_translator
This check looks for calls to members that are non-existent. These calls will fail.
The member could have been renamed or removed.
def test_sns_queue_route():
route = SNSQueueRoute('what', 'ever')
assert isinstance(route.message_translator, SNSMessageTranslator)
SNSQueueRoute
This check looks for calls to members that are non-existent. These calls will fail.
The member could have been renamed or removed.