Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Add mock_ssm_deprecated. #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.5.0+nimbis.3 (2018-10-25):

* Add mock_ssm_deprecated for botocore 1.8 work-around.
See: https://github.com/spulec/moto/issues/1793

1.5.0+nimbis.1 (2018-07-25):

* Extend the ssm backend with the get_command_invocation endpoint.
2 changes: 1 addition & 1 deletion moto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from .sns import mock_sns, mock_sns_deprecated # flake8: noqa
from .sqs import mock_sqs, mock_sqs_deprecated # flake8: noqa
from .sts import mock_sts, mock_sts_deprecated # flake8: noqa
from .ssm import mock_ssm # flake8: noqa
from .ssm import mock_ssm, mock_ssm_deprecated # flake8: noqa
from .route53 import mock_route53, mock_route53_deprecated # flake8: noqa
from .swf import mock_swf, mock_swf_deprecated # flake8: noqa
from .xray import mock_xray, mock_xray_client, XRaySegment # flake8: noqa
Expand Down
2 changes: 2 additions & 0 deletions moto/ssm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from __future__ import unicode_literals
from .models import ssm_backends
from ..core.models import base_decorator
from ..core.models import deprecated_base_decorator

ssm_backend = ssm_backends['us-east-1']
mock_ssm = base_decorator(ssm_backends)
mock_ssm_deprecated = deprecated_base_decorator(ssm_backends)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

setup(
name='moto',
version='1.5.0+nimbis.1',
version='1.5.0+nimbis.3',
description='A library that allows your python tests to easily'
' mock out the boto library',
author='Steve Pulec',
Expand Down