def test_get_glossary(capsys, glossary): beta_snippets.get_glossary(PROJECT_ID, glossary) out, _ = capsys.readouterr() assert glossary in out assert "gs://cloud-samples-data/translation/glossary.csv" in out
def test_get_glossary(capsys, glossary): beta_snippets.get_glossary(PROJECT_ID, glossary) out, _ = capsys.readouterr() assert glossary in out assert 'gs://cloud-samples-data/translation/glossary.csv' in out