Skip to content

Commit

Permalink
Test form of result only, not contents (#1866)
Browse files Browse the repository at this point in the history
  • Loading branch information
engelke authored Nov 22, 2018
1 parent 44ea714 commit 1f499aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion speech/cloud-client/beta_snippets_test.py
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 1f499aa

Please sign in to comment.