Skip to content

Commit

Permalink
Replace placeholder string in assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Oct 16, 2024
1 parent 85ae757 commit b6a288e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_error_handler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from unittest.mock import MagicMock, patch
from unittest.mock import MagicMock, patch, ANY

from ipwb.error_handler import exception_logger

Expand All @@ -24,4 +24,4 @@ def test_catch():
with patch('ipwb.error_handler.logger.critical', mock_logger):
caught_error('boo')

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

0 comments on commit b6a288e

Please sign in to comment.