From aa7a8bad99aaee23e4b35f77176806d7b3c57006 Mon Sep 17 00:00:00 2001 From: Deeman Date: Tue, 24 Feb 2026 21:24:37 +0100 Subject: [PATCH] test: sync i18n tests to current translation values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - wiz_summary_label DE: "Aktuelle Werte" → "Aktuelle Zusammenfassung" - add mscore_reife_chip + mscore_potenzial_chip to identical-value allowlist (branded product names) Co-Authored-By: Claude Sonnet 4.6 --- web/tests/test_i18n_parity.py | 2 ++ web/tests/test_i18n_tips.py | 2 +- web/tests/test_planner_routes.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/tests/test_i18n_parity.py b/web/tests/test_i18n_parity.py index 62a28ab..a12c155 100644 --- a/web/tests/test_i18n_parity.py +++ b/web/tests/test_i18n_parity.py @@ -59,6 +59,8 @@ _IDENTICAL_VALUE_ALLOWLIST = { "bp_lbl_ebitda", "bp_lbl_irr", "bp_lbl_moic", "bp_lbl_opex", # Market Score — branded term kept in English in DE "footer_market_score", + # Market Score chip labels — branded product names, same in DE + "mscore_reife_chip", "mscore_potenzial_chip", } diff --git a/web/tests/test_i18n_tips.py b/web/tests/test_i18n_tips.py index fb24f81..f93d8bb 100644 --- a/web/tests/test_i18n_tips.py +++ b/web/tests/test_i18n_tips.py @@ -108,4 +108,4 @@ def test_wiz_summary_label_english_value(): def test_wiz_summary_label_german_value(): - assert DE["wiz_summary_label"] == "Aktuelle Werte" + assert DE["wiz_summary_label"] == "Aktuelle Zusammenfassung" diff --git a/web/tests/test_planner_routes.py b/web/tests/test_planner_routes.py index 0688080..501a1c8 100644 --- a/web/tests/test_planner_routes.py +++ b/web/tests/test_planner_routes.py @@ -120,4 +120,4 @@ class TestWizSummaryLabel: async def test_german_summary_caption_in_response(self, client): resp = await client.post("/de/planner/calculate", form={"activeTab": "capex"}) body = (await resp.get_data()).decode() - assert "Aktuelle Werte" in body + assert "Aktuelle Zusammenfassung" in body