Skip to content

Commit c6191d9

Browse files
committed
unit test
1 parent 3913627 commit c6191d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/tests/test_log_structure_wrapper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def test_successful_execution(self, mock_logger, mock_firehose_logger):
4949

5050
# Assert
5151
self.assertEqual(result, "Success")
52-
mock_logger.info.assert_called()
52+
self.assertEqual(mock_logger.info.call_count, 2)
53+
5354
mock_firehose_logger.send_log.assert_called()
5455

5556
args, kwargs = mock_logger.info.call_args

0 commit comments

Comments
 (0)