Skip to content

Commit

Permalink
speech: fixing flaky auto punctuation test [(#2747)](#2747)
Browse files Browse the repository at this point in the history
* 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 dandhlee committed Feb 9, 2023
1 parent 5885ae4 commit 7f9e9e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion speech/snippets/beta_snippets_test.py
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
2 changes: 1 addition & 1 deletion speech/snippets/transcribe_auto_punctuation_test.py
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 7f9e9e1

Please sign in to comment.