Skip to content

Commit

Permalink
Corrected unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
laurejt committed Nov 18, 2024
1 parent b16c0b1 commit 2da78f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppa/archive/tests/test_hathi_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_log_skip(self, mock_log_action):
@patch.object(hathi_images.DownloadStats, "_log_action")
def test_log_error(self, mock_log_action):
stats = hathi_images.DownloadStats()
stats.log_skip("image_type")
stats.log_error("image_type")
mock_log_action.assert_called_once_with("image_type", "error")

def test_update(self):
Expand Down

0 comments on commit 2da78f1

Please sign in to comment.