Skip to content

Commit 258e0c5

Browse files
committed
fixing types
1 parent 02dcb6d commit 258e0c5

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

packages/aws-library/tests/test_ec2_client.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,13 @@ async def mock_run_instances(*args, **kwargs):
711711
"Error": {
712712
"Code": "InsufficientInstanceCapacity",
713713
"Message": "Insufficient capacity.",
714-
}
714+
},
715+
"ResponseMetadata": {
716+
"RequestId": "12345678-1234-1234-1234-123456789012",
717+
"HTTPStatusCode": 400,
718+
"HTTPHeaders": {},
719+
"RetryAttempts": 0,
720+
},
715721
}
716722
raise botocore.exceptions.ClientError(error_response, "RunInstances")
717723

@@ -789,7 +795,13 @@ async def mock_run_instances(*args, **kwargs):
789795
"Error": {
790796
"Code": "InsufficientInstanceCapacity",
791797
"Message": "Insufficient capacity.",
792-
}
798+
},
799+
"ResponseMetadata": {
800+
"RequestId": "12345678-1234-1234-1234-123456789012",
801+
"HTTPStatusCode": 400,
802+
"HTTPHeaders": {},
803+
"RetryAttempts": 0,
804+
},
793805
}
794806
raise botocore.exceptions.ClientError(error_response, "RunInstances")
795807

0 commit comments

Comments
 (0)