Fix:SQS md5 calculation for custom string data type. (#3346)
* Fix:SQS md5 calculation for custom string data type. * Linting Co-authored-by: Bert Blommers <info@bertblommers.nl>
This commit is contained in:
parent
1c3ba83fc2
commit
f9ce99f0d1
2 changed files with 26 additions and 10 deletions
|
|
@ -658,6 +658,17 @@ def test_send_receive_message_with_attributes_with_labels():
|
|||
"994258b45346a2cc3f9cbb611aa7af30"
|
||||
)
|
||||
|
||||
response = queue.send_message(
|
||||
MessageBody="test message",
|
||||
MessageAttributes={
|
||||
"somevalue": {"StringValue": "somevalue", "DataType": "String.custom",}
|
||||
},
|
||||
)
|
||||
|
||||
response.get("MD5OfMessageAttributes").should.equal(
|
||||
"9e05cca738e70ff6c6041e82d5e77ef1"
|
||||
)
|
||||
|
||||
|
||||
@mock_sqs
|
||||
def test_send_receive_message_timestamps():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue