Merge pull request #631 from christianlouis/copilot/remove-translation-test
test(i18n): stop asserting specific translation content in kwargs interpolation test
This commit is contained in:
+2
-1
@@ -135,7 +135,8 @@ class TestTranslate:
|
|||||||
def test_translate_with_kwargs_german(self) -> None:
|
def test_translate_with_kwargs_german(self) -> None:
|
||||||
"""Placeholder interpolation in German."""
|
"""Placeholder interpolation in German."""
|
||||||
result = translate("language.changed", "de", language="English")
|
result = translate("language.changed", "de", language="English")
|
||||||
assert result == "Sprache geändert zu English"
|
assert "English" in result
|
||||||
|
assert result != "language.changed"
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user