Skip to content

Commit 46e8318

Browse files
committed
test: add tests for new updates and update formatting in tests
1 parent e9ea20c commit 46e8318

15 files changed

+1900
-2897
lines changed

test/integration/test_language_translator_v3.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ def test_translate(self):
1919
translation = self.language_translator.translate(
2020
text='Hello', model_id='en-es').get_result()
2121
assert translation is not None
22+
translation = self.language_translator.translate(
23+
text='Hello, how are you?', target='es').get_result()
24+
assert translation is not None
2225

2326
def test_document_translation(self):
2427
with open(join(dirname(__file__), '../../resources/hello_world.txt'),

0 commit comments

Comments
 (0)