Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelPeczek-Roboflow committed Oct 3, 2024
1 parent 8955505 commit 74bb89d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
workflow_name_in_app="google-vision-ocr",
)
@pytest.mark.skipif(
condition=GOOGLE_VISION_OCR_WORKFLOW is None, reason="Google API key not provided"
condition=GOOGLE_VISION_API_KEY is None, reason="Google API key not provided"
)
def test_workflow_with_google_ocr_when_text_should_be_detected(
model_manager: ModelManager,
Expand Down Expand Up @@ -115,6 +115,9 @@ def test_workflow_with_google_ocr_when_text_should_be_detected(
), "Expected 4 text regions to be detected"


@pytest.mark.skipif(
condition=GOOGLE_VISION_API_KEY is None, reason="Google API key not provided"
)
def test_workflow_with_google_ocr_when_no_text_should_be_detected(
model_manager: ModelManager,
dogs_image: np.ndarray,
Expand Down

0 comments on commit 74bb89d

Please sign in to comment.