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"})