Skip to content

Commit

Permalink
Attempt to fix ocr_images unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
laurejt committed Oct 1, 2024
1 parent 04878d6 commit c85d930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_ocr/test_gvision_ocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def test_ocr_images_no_gvision(capsys):

@patch("corppa.ocr.gvision_ocr.image_relpath_generator")
@patch("corppa.ocr.gvision_ocr.ocr_image_via_gvision")
@patch("corppa.ocr.gvision_ocr.google_vision.ImageAnnotatorClient")
def test_ocr_images_skip(
@patch("corppa.ocr.gvision_ocr.google_vision.ImageAnnotatorClient", create=True)
def test_ocr_images(
mock_client, mock_ocr_image, mock_image_relpath_generator, tmp_path
):
img_dir = tmp_path.joinpath("images")
Expand Down

0 comments on commit c85d930

Please sign in to comment.