Skip to content

Commit 63ec3ca

Browse files
committed
remove file validation patching
1 parent 9631e68 commit 63ec3ca

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lambdas/filenameprocessor/tests/test_lambda_handler.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,6 @@ def test_lambda_handler_extended_attributes_success(self):
264264
# Patch uuid4 (message id), the identifier extraction, and prevent external copy issues by simulating move
265265
with (
266266
patch("file_name_processor.uuid4", return_value=test_cases[0].message_id),
267-
patch(
268-
"file_name_processor.validate_extended_attributes_file_key",
269-
return_value=test_cases[0].ods_code + "_COVID",
270-
),
271267
patch(
272268
"file_name_processor.copy_file_outside_bucket",
273269
side_effect=lambda src_bucket, key, dst_bucket, dst_key: (
@@ -335,10 +331,6 @@ def test_lambda_handler_extended_attributes_failure(self):
335331
# Patch uuid4 (message id), the identifier extraction, and don't move the file
336332
with (
337333
patch("file_name_processor.uuid4", return_value=test_cases[0].message_id),
338-
patch(
339-
"file_name_processor.validate_extended_attributes_file_key",
340-
return_value=test_cases[0].ods_code + "_COVID",
341-
),
342334
patch(
343335
"file_name_processor.copy_file_outside_bucket",
344336
side_effect=lambda src_bucket, key, dst_bucket, dst_key: ( # effectively do nothing

0 commit comments

Comments
 (0)