Skip to content

Commit 2fc288e

Browse files
engelkedandhlee
authored andcommitted
Test form of result only, not contents [(#1866)](#1866)
1 parent c2ab239 commit 2fc288e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

speech/snippets/beta_snippets_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def test_transcribe_diarization(capsys):
5050
transcribe_file_with_diarization()
5151
out, err = capsys.readouterr()
5252

53-
assert "word: 'here', speaker_tag: 1" in out
53+
assert "word:" in out
54+
assert "speaker_tag:" in out
5455

5556

5657
def test_transcribe_multichannel_file(capsys):

0 commit comments

Comments
 (0)