Linting
This commit is contained in:
parent
76aa7ce0ab
commit
0ab21f62a8
0
tests/test_awslambda/__init__.py
Normal file
0
tests/test_awslambda/__init__.py
Normal file
@ -3,6 +3,7 @@ import json
|
|||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
from moto import mock_cloudformation, mock_ecs
|
from moto import mock_cloudformation, mock_ecs
|
||||||
|
|
||||||
|
|
||||||
@mock_ecs
|
@mock_ecs
|
||||||
@mock_cloudformation
|
@mock_cloudformation
|
||||||
def test_update_task_definition_family_through_cloudformation_should_trigger_a_replacement():
|
def test_update_task_definition_family_through_cloudformation_should_trigger_a_replacement():
|
||||||
|
@ -2048,7 +2048,12 @@ def test_invoke_function_from_sqs_exception():
|
|||||||
assert response["EventSourceArn"] == queue.attributes["QueueArn"]
|
assert response["EventSourceArn"] == queue.attributes["QueueArn"]
|
||||||
assert response["State"] == "Enabled"
|
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)
|
queue.send_messages(Entries=entries)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user