Skip to content

Commit

Permalink
single plat - fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Jan 17, 2025
1 parent 6e37e3a commit 2d286a3
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions e2e-tests/cmd_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,9 @@ def _assert_update_action(self, directory):
utterances = self._get_utterances(directory)
text_array = [entry["translated_text"] for entry in utterances]

if operating == "darwin":
assert (
"I m'encanta aquesta ciutat tant meva." == text_array[3]
), "updated translated text 2"

else:
assert (
"I m'encanta aquesta ciutat tant meva." == text_array[2]
), "updated translated text 2"
assert (
"I m'encanta aquesta ciutat tant meva." == text_array[2]
), "updated translated text 2"

@pytest.mark.parametrize("tts_engine", ["edge", "mms"])
def test_translations_with_tts(self, tts_engine):
Expand Down

0 comments on commit 2d286a3

Please sign in to comment.