diff --git a/CHANGES b/CHANGES index f21540d758f0..6a1fc376c2f2 100644 --- a/CHANGES +++ b/CHANGES @@ -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. diff --git a/moto/__init__.py b/moto/__init__.py index 0ce5e54d1311..ce7f3a66983e 100644 --- a/moto/__init__.py +++ b/moto/__init__.py @@ -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 diff --git a/moto/ssm/__init__.py b/moto/ssm/__init__.py index c42f3b780e61..298476f33cbe 100644 --- a/moto/ssm/__init__.py +++ b/moto/ssm/__init__.py @@ -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) diff --git a/setup.py b/setup.py index 7a3338146e68..3f88f93b009b 100755 --- a/setup.py +++ b/setup.py @@ -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',