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

13 lines
344 B
Python

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