def test_transcribe_diarization(capsys):
    transcribe_file_with_diarization(
        os.path.join(RESOURCES, 'Google_Gnome.wav'))
    out, err = capsys.readouterr()

    assert 'OK Google stream stranger things from Netflix to my TV' in out
def test_transcribe_diarization(capsys):
    transcribe_file_with_diarization()
    out, err = capsys.readouterr()

    assert "word:" in out
    assert "speaker_tag:" in out
示例#3
0
def test_transcribe_diarization(capsys):
    transcribe_file_with_diarization()
    out, err = capsys.readouterr()

    assert "word:" in out
    assert "speaker_tag:" in out
def test_transcribe_diarization(capsys):
    transcribe_file_with_diarization(
        os.path.join(RESOURCES, 'Google_Gnome.wav'))
    out, err = capsys.readouterr()

    assert 'OK Google stream stranger things from Netflix to my TV' in out