def test_translate_text(capsys):
    beta_snippets.translate_text(PROJECT_ID, 'Hello world')
    out, _ = capsys.readouterr()
    assert 'Zdravo svet' in out or 'Pozdrav svijetu' in out
def test_translate_text(capsys):
    beta_snippets.translate_text(PROJECT_ID, "Hello world")
    out, _ = capsys.readouterr()
    assert "Translated Text:" in out
def test_translate_text(capsys):
    beta_snippets.translate_text(PROJECT_ID, 'Hello world')
    out, _ = capsys.readouterr()
    assert 'Zdravo svet' in out