From 1f499aa730f7391eab65497b8697a972e91241ff Mon Sep 17 00:00:00 2001 From: Charles Engelke Date: Wed, 21 Nov 2018 17:47:11 -0800 Subject: [PATCH] Test form of result only, not contents (#1866) --- speech/cloud-client/beta_snippets_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/speech/cloud-client/beta_snippets_test.py b/speech/cloud-client/beta_snippets_test.py index 5720da420d5d..44b421bb5759 100644 --- a/speech/cloud-client/beta_snippets_test.py +++ b/speech/cloud-client/beta_snippets_test.py @@ -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):