From b5e8dacff9b6cf2549cbee9c43c2f2e09c4d3726 Mon Sep 17 00:00:00 2001 From: Darren Lester Date: Fri, 13 Sep 2024 20:57:40 +0100 Subject: [PATCH] Minor test change to test workflow --- app/backend_gcf/tests/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/backend_gcf/tests/test_main.py b/app/backend_gcf/tests/test_main.py index 7b869ec..fc54643 100644 --- a/app/backend_gcf/tests/test_main.py +++ b/app/backend_gcf/tests/test_main.py @@ -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"})