File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 99import argparse
1010from uuid import uuid4
1111
12- from botocore .exceptions import ClientError
13-
1412from audit_table import upsert_audit_table
1513from common .aws_s3_utils import (
1614 copy_file_to_external_bucket ,
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ def test_lambda_handler_extended_attributes_failure(self):
382382 self.assert_no_sqs_message()
383383 self.assert_no_ack_file(test_cases[0])
384384 '''
385-
385+
386386 def test_lambda_handler_extended_attributes_invalid_key (self ):
387387 """
388388 Tests that for an extended attributes file (prefix starts with 'Vaccination_Extended_Attributes'):
@@ -665,7 +665,7 @@ def test_unexpected_bucket_name_and_filename_validation_fails(self):
665665 self .assertEqual (result ["statusCode" ], 500 )
666666 self .assertEqual (
667667 f"Failed to process file due to unexpected bucket name unknown-bucket and file key { invalid_file_key } " ,
668- result ["message" ]
668+ result ["message" ],
669669 )
670670 self .assertEqual (result ["file_key" ], invalid_file_key )
671671 self .assertEqual (result ["vaccine_type" ], "unknown" )
Original file line number Diff line number Diff line change @@ -43,4 +43,4 @@ def delete_file(
4343 Bucket = source_bucket ,
4444 Key = source_key ,
4545 ExpectedBucketOwner = expected_bucket_owner ,
46- )
46+ )
You can’t perform that action at this time.
0 commit comments