Skip to content

Commit

Permalink
Update mock assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Oct 16, 2024
1 parent a0a7ef0 commit d0462e9
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')

assert mock_logger.called_once_with('boo')
assert mock_logger.assert_called_once_with('boo')

0 comments on commit d0462e9

Please sign in to comment.