Ejemplo n.º 1
0
def test_transcribe_multilanguage_file(capsys):
    transcribe_file_with_multilanguage()
    out, err = capsys.readouterr()

    assert 'how are you doing estoy bien e tu' in out
def test_transcribe_multilanguage_file(capsys):
    transcribe_file_with_multilanguage()
    out, err = capsys.readouterr()

    assert 'how are you doing estoy bien e tu' in out
Ejemplo n.º 3
0
def test_transcribe_multilanguage_file(capsys):
    transcribe_file_with_multilanguage()
    out, err = capsys.readouterr()

    assert "First alternative of result" in out
    assert "Transcript" in out
def test_transcribe_multilanguage_file(capsys):
    transcribe_file_with_multilanguage(
        os.path.join(RESOURCES, 'multi.wav'), 'en-US', 'es')
    out, err = capsys.readouterr()

    assert 'how are you doing estoy bien e tu' in out
def test_transcribe_multilanguage_file(capsys):
    transcribe_file_with_multilanguage(os.path.join(RESOURCES, 'multi.wav'),
                                       'en-US', 'es')
    out, err = capsys.readouterr()

    assert 'how are you doing estoy bien e tu' in out