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:
@@ -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",
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user