Skip to content

Commit

Permalink
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 de2ff3d commit ed278bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/backend_gcf/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def test_detect_text_without_text(self):
self.assertEqual(detected_text["text"], "")

def test_translate_text(self):
""" Mock the response from the Translate API """
message = {"text": "Hola mundo", "src_lang": "es"}
to_lang = "en"
expected_translated_text = {"text": "Hello world", "src_lang": "es", "to_lang": "en"}
Expand Down

0 comments on commit ed278bc

Please sign in to comment.