Skip to content

Commit 080cc95

Browse files
committed
Fix formatting
1 parent 8b09d69 commit 080cc95

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/unit/sagemaker/serverless/test_model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ def test_deploy(mock_client, wait):
5050
def test_deploy_raises_error_on_failure(mock_client):
5151
model = LambdaModel(IMAGE_URI, ROLE, client=mock_client)
5252
mock_client.create_function = Mock(return_value={"State": "Pending"})
53-
mock_client.get_function_configuration = Mock(return_value={"State": "Failed", "StateReason": "Resource limit"})
53+
mock_client.get_function_configuration = Mock(
54+
return_value={"State": "Failed", "StateReason": "Resource limit"}
55+
)
5456

5557
with pytest.raises(RuntimeError):
5658
model.deploy("my-function", timeout=3, memory_size=128, wait=True)

0 commit comments

Comments
 (0)