diff --git a/speech/cloud-client/beta_snippets_test.py b/speech/cloud-client/beta_snippets_test.py index 44b421bb575..367d2ccc4b1 100644 --- a/speech/cloud-client/beta_snippets_test.py +++ b/speech/cloud-client/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/cloud-client/transcribe_auto_punctuation_test.py b/speech/cloud-client/transcribe_auto_punctuation_test.py index 19db1e9c9d3..e42018d47a6 100644 --- a/speech/cloud-client/transcribe_auto_punctuation_test.py +++ b/speech/cloud-client/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