diff --git a/moto/sns/models.py b/moto/sns/models.py index 515fe116d..cead172e9 100644 --- a/moto/sns/models.py +++ b/moto/sns/models.py @@ -340,9 +340,9 @@ class SNSBackend(BaseBackend): topic = self.get_topic(topic_arn) subscription = Subscription(topic, endpoint, protocol) attributes = { - 'PendingConfirmation' : 'false', - 'Endpoint' : endpoint, - 'TopicArn' : topic_arn, + 'PendingConfirmation': 'false', + 'Endpoint': endpoint, + 'TopicArn': topic_arn, 'Protocol': protocol, 'SubscriptionArn': subscription.arn }