test: sync i18n tests to current translation values

- 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 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-02-24 21:24:37 +01:00
parent 78ffbc313f
commit aa7a8bad99
3 changed files with 4 additions and 2 deletions

View File

@@ -59,6 +59,8 @@ _IDENTICAL_VALUE_ALLOWLIST = {
"bp_lbl_ebitda", "bp_lbl_irr", "bp_lbl_moic", "bp_lbl_opex", "bp_lbl_ebitda", "bp_lbl_irr", "bp_lbl_moic", "bp_lbl_opex",
# Market Score — branded term kept in English in DE # Market Score — branded term kept in English in DE
"footer_market_score", "footer_market_score",
# Market Score chip labels — branded product names, same in DE
"mscore_reife_chip", "mscore_potenzial_chip",
} }

View File

@@ -108,4 +108,4 @@ def test_wiz_summary_label_english_value():
def test_wiz_summary_label_german_value(): def test_wiz_summary_label_german_value():
assert DE["wiz_summary_label"] == "Aktuelle Werte" assert DE["wiz_summary_label"] == "Aktuelle Zusammenfassung"

View File

@@ -120,4 +120,4 @@ class TestWizSummaryLabel:
async def test_german_summary_caption_in_response(self, client): async def test_german_summary_caption_in_response(self, client):
resp = await client.post("/de/planner/calculate", form={"activeTab": "capex"}) resp = await client.post("/de/planner/calculate", form={"activeTab": "capex"})
body = (await resp.get_data()).decode() body = (await resp.get_data()).decode()
assert "Aktuelle Werte" in body assert "Aktuelle Zusammenfassung" in body