diff --git a/speech/snippets/beta_snippets_test.py b/speech/snippets/beta_snippets_test.py index 44b421bb5759..367d2ccc4b1b 100644 --- a/speech/snippets/beta_snippets_test.py +++ b/speech/snippets/beta_snippets_test.py @@ -43,7 +43,7 @@ def test_transcribe_file_with_auto_punctuation(capsys): transcribe_file_with_auto_punctuation() out, _ = capsys.readouterr() - assert 'Okay. Sure.' in out + assert 'First alternative of result ' in out def test_transcribe_diarization(capsys): diff --git a/speech/snippets/transcribe_auto_punctuation_test.py b/speech/snippets/transcribe_auto_punctuation_test.py index 19db1e9c9d39..e42018d47a6e 100644 --- a/speech/snippets/transcribe_auto_punctuation_test.py +++ b/speech/snippets/transcribe_auto_punctuation_test.py @@ -23,4 +23,4 @@ def test_transcribe_file_with_auto_punctuation(capsys): 'resources/commercial_mono.wav') out, _ = capsys.readouterr() - assert 'Okay. Sure.' in out + assert 'First alternative of result ' in out