Skip to content

Commit

Permalink
speech: fixing flaky auto punctuation test [(#2747)](GoogleCloudPlatf…
Browse files Browse the repository at this point in the history
…orm/python-docs-samples#2747)

* speech: fixing flaky auto punctuation test

* Fixing beta test for auto punctuation

Co-authored-by: Noah Negrey <nnegrey@users.noreply.github.com>
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
  • Loading branch information
3 people authored and busunkim96 committed Sep 3, 2020
1 parent 30d39d7 commit a7c9a60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a7c9a60

Please sign in to comment.