This commit is contained in:
Bert Blommers 2020-09-13 19:42:38 +01:00
commit 0ab21f62a8
5 changed files with 10 additions and 4 deletions

View file

@ -2048,7 +2048,12 @@ def test_invoke_function_from_sqs_exception():
assert response["EventSourceArn"] == queue.attributes["QueueArn"]
assert response["State"] == "Enabled"
entries = [{"Id": "1", "MessageBody": json.dumps({"uuid": str(uuid.uuid4()), "test": "test"})}]
entries = [
{
"Id": "1",
"MessageBody": json.dumps({"uuid": str(uuid.uuid4()), "test": "test"}),
}
]
queue.send_messages(Entries=entries)