Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Commit 7f12106

Browse files
gguussJon Wayne Parrott
authored andcommitted
Adds check for translated text
1 parent 138c0e5 commit 7f12106

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

translate/cloud-client/snippets_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ def test_translate_text(capsys):
4444
def test_translate_utf8(capsys):
4545
text = '나는 파인애플을 좋아한다.'
4646
snippets.translate_text('en', text)
47+
out, _ = capsys.readouterr()
48+
assert 'I like pineapple.' in out

0 commit comments

Comments
 (0)