Skip to content

Commit

Permalink
Minor test change to test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed-dash committed Sep 13, 2024
1 parent 21ac1e6 commit b5e8dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/backend_gcf/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_detect_text_with_text(self):
self.assertEqual(detected_text["text"], test_text)

def test_detect_text_without_text(self):
# Mock the response from the Vision API for no text detected
""" Mock the response from the Vision API for no text detected """
vision.ImageAnnotatorClient.text_detection = MagicMock(return_value=MagicMock(text_annotations=[]))
translate.Client.detect_language = MagicMock(return_value={"language": "und"})

Expand Down

0 comments on commit b5e8dac

Please sign in to comment.