Skip to content

Commit

Permalink
Test form of result only, not contents [(#1866)](GoogleCloudPlatform/…
Browse files Browse the repository at this point in the history
  • Loading branch information
engelke authored and busunkim96 committed Sep 3, 2020
1 parent 2795bfe commit 4a0fd23
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def test_transcribe_diarization(capsys):
transcribe_file_with_diarization()
out, err = capsys.readouterr()

assert "word: 'here', speaker_tag: 1" in out
assert "word:" in out
assert "speaker_tag:" in out


def test_transcribe_multichannel_file(capsys):
Expand Down

0 comments on commit 4a0fd23

Please sign in to comment.