From 8bc856a6317ceb9b0fe443c55aead21bafa74300 Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Wed, 14 Dec 2022 22:40:18 -0100 Subject: [PATCH] SQS: Align receive_message() response with AWS (#5773) --- moto/sqs/responses.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/moto/sqs/responses.py b/moto/sqs/responses.py index 192544a08..a0c775092 100644 --- a/moto/sqs/responses.py +++ b/moto/sqs/responses.py @@ -583,7 +583,8 @@ SEND_MESSAGE_RESPONSE = """ """ -RECEIVE_MESSAGE_RESPONSE = """ +RECEIVE_MESSAGE_RESPONSE = """ + {% for message in messages %} @@ -650,7 +651,7 @@ RECEIVE_MESSAGE_RESPONSE = """ {% if 'Binary' in value.data_type %} {{ value.binary_value }} {% else %} - + {{ value.string_value|e }} {% endif %} @@ -659,7 +660,7 @@ RECEIVE_MESSAGE_RESPONSE = """ {% endfor %} - + 5bdc09f4-0a03-5425-8468-55e04a092ed8 """