moto/moto/sqs/__init__.py
2014-11-15 14:21:58 -05:00

13 lines
278 B
Python

from __future__ import unicode_literals
from .models import sqs_backends
from ..core.models import MockAWS
sqs_backend = sqs_backends['us-east-1']
def mock_sqs(func=None):
if func:
return MockAWS(sqs_backends)(func)
else:
return MockAWS(sqs_backends)