From aad5798ef6584cdbab250bf9b917a59acce96a3e Mon Sep 17 00:00:00 2001 From: Raivis Dejus Date: Fri, 27 Feb 2026 15:13:13 +0200 Subject: [PATCH] Fixed translation in tests --- tests/translator_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/translator_test.py b/tests/translator_test.py index 4cfc54f1..6380dc51 100644 --- a/tests/translator_test.py +++ b/tests/translator_test.py @@ -24,7 +24,7 @@ class TestParseBatchResponse: result = Translator._parse_batch_response(response, 3) assert len(result) == 3 assert result[0] == "Hello" - assert result[1] == _("Translation error, see logs!") + assert result[1] == "" assert result[2] == "World" def test_multiline_entries(self): @@ -44,8 +44,8 @@ class TestParseBatchResponse: response = "" result = Translator._parse_batch_response(response, 2) assert len(result) == 2 - assert result[0] == _("Translation error, see logs!") - assert result[1] == _("Translation error, see logs!") + assert result[0] == "" + assert result[1] == "" def test_whitespace_handling(self): response = "[1] Hello with spaces \n[2] World "