@@ -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