Add requestid checking for sqs

This commit is contained in:
Robert Lewis 2019-01-18 08:32:45 -08:00
parent 19a0179608
commit acdb1c9768

View File

@ -416,7 +416,9 @@ def test_send_receive_message_timestamps():
conn.create_queue(QueueName="test-queue")
queue = sqs.Queue("test-queue")
queue.send_message(MessageBody="derp")
response = queue.send_message(MessageBody="derp")
assert response['ResponseMetadata']['RequestId']
messages = conn.receive_message(
QueueUrl=queue.url, MaxNumberOfMessages=1)['Messages']