test(concepts): add levered_irr keys to FinancialModel contract-key assertion
All checks were successful
CI / changes (pull_request) Successful in 7s
CI / frontend-tests (pull_request) Successful in 59s
CI / openapi-codegen-check (pull_request) Successful in 1m52s
CI / backend-tests (pull_request) Successful in 11m43s

test_concepts_response_matches_contract_keys pins the exact financial key
set; the two additive levered IRR fields broke it (full-suite-only test,
outside test_financial_dcf.py). Refs #1881
This commit is contained in:
Light1YT 2026-06-25 13:54:21 +05:00
parent 1ae8ae3ca0
commit 5de5367fab

View file

@ -175,6 +175,9 @@ def test_concepts_response_matches_contract_keys() -> None:
"total_interest_rub",
"net_profit_after_financing_rub",
"financing_is_simplified",
# levered (equity) IRR
"levered_irr",
"levered_irr_is_proxy",
# price calibration (PR-2)
"price_per_sqm_used",
"price_is_calibrated",