def test_translate_text_with_glossary(capsys, glossary): beta_snippets.translate_text_with_glossary(PROJECT_ID, glossary, 'directions') out, _ = capsys.readouterr() assert 'direcciones' in out
def test_translate_text_with_glossary(capsys, glossary): beta_snippets.translate_text_with_glossary(PROJECT_ID, glossary, "account") out, _ = capsys.readouterr() assert "cuenta" in out
def test_translate_text_with_glossary(capsys, glossary): beta_snippets.translate_text_with_glossary( PROJECT_ID, glossary, 'directions') out, _ = capsys.readouterr() assert 'direcciones' in out