Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
yihong1120 committed Oct 22, 2024
1 parent 50bc4c6 commit 3f7d2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/notifiers/line_notifier_message_api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,10 @@ def test_load_image_records_failure(self, mock_file: MagicMock) -> None:

with patch('builtins.print') as mock_print:
records = self.messenger.load_image_records()
self.assertEqual(records, {})
mock_print.assert_called_once_with(
'Failed to load image records: Mocked exception',
)
self.assertEqual(records, {})

@patch('builtins.open', new_callable=mock_open)
def test_save_image_records_failure(self, mock_file):
Expand Down

0 comments on commit 3f7d2a7

Please sign in to comment.