def test_speech_transcription(capsys): beta_snippets.speech_transcription( "gs://python-docs-samples-tests/video/googlework_short.mp4", timeout=240 ) out, _ = capsys.readouterr() assert "cultural" in out
def test_speech_transcription(capsys): beta_snippets.speech_transcription('gs://{}/{}'.format(BUCKET, FILE_PATH)) out, _ = capsys.readouterr() assert 'cultural' in out
def test_speech_transcription(capsys): beta_snippets.speech_transcription( 'gs://python-docs-samples-tests/video/googlework_short.mp4') out, _ = capsys.readouterr() assert 'cultural' in out
def test_speech_transcription(capsys): beta_snippets.speech_transcription( 'gs://python-docs-samples-tests/video/googlework_short.mp4') out, _ = capsys.readouterr() assert 'cultural' in out