Skip to content

Commit a50c8b9

Browse files
committed
review cleanup
1 parent dd1a243 commit a50c8b9

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

ack_backend/src/ack_processor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def lambda_handler(event, context):
2020
file_key = None
2121
created_at_formatted_string = None
2222
message_id = None
23-
supplier_queue = None
2423

2524
ack_data_rows = []
2625

ack_backend/tests/test_splunk_logging.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ def test_splunk_update_ack_file_not_logged(self):
321321
with (
322322
patch("logging_decorators.send_log_to_firehose") as mock_send_log_to_firehose,
323323
patch("logging_decorators.logger") as mock_logger,
324-
patch("update_ack_file.change_audit_table_status_to_processed") as mock_change_audit_table_status_to_processed, # noqa: E999
325-
patch("update_ack_file.get_next_queued_file_details"), # noqa: E999
326-
patch("update_ack_file.invoke_filename_lambda"), # noqa: E999
324+
patch("update_ack_file.change_audit_table_status_to_processed") as mock_change_audit_table_status_to_processed,
325+
patch("update_ack_file.get_next_queued_file_details"),
326+
patch("update_ack_file.invoke_filename_lambda"),
327327
):
328328
result = lambda_handler(generate_event(messages), context={})
329329

@@ -362,9 +362,9 @@ def test_splunk_update_ack_file_logged(self):
362362
with (
363363
patch("logging_decorators.send_log_to_firehose") as mock_send_log_to_firehose,
364364
patch("logging_decorators.logger") as mock_logger,
365-
patch("update_ack_file.change_audit_table_status_to_processed") as mock_change_audit_table_status_to_processed, # noqa: E999
366-
patch("update_ack_file.get_next_queued_file_details"), # noqa: E999
367-
patch("update_ack_file.invoke_filename_lambda"), # noqa: E999
365+
patch("update_ack_file.change_audit_table_status_to_processed") as mock_change_audit_table_status_to_processed,
366+
patch("update_ack_file.get_next_queued_file_details"),
367+
patch("update_ack_file.invoke_filename_lambda"),
368368
):
369369
result = lambda_handler(generate_event(messages), context={})
370370

0 commit comments

Comments
 (0)