Skip to content

Commit

Permalink
Restore called once assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Oct 16, 2024
1 parent 68fabe7 commit b8273d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def test_catch():
with patch('ipwb.error_handler.logger.critical', mock_logger):
caught_error('boo')

mock_logger.assert_called_with('boo')
mock_logger.assert_called_once('boo')

0 comments on commit b8273d6

Please sign in to comment.