fixing broken unit tests

This commit is contained in:
Khalim Conn-Kowlessar 2026-05-01 08:46:17 +00:00
parent 02cc1b9978
commit aca503e877
2 changed files with 4 additions and 0 deletions

View file

@ -110,6 +110,8 @@ class Addresses:
landlord_multi_glaze_proportion=float(row["landlord_multi_glaze_proportion"]) if row.get(
"landlord_multi_glaze_proportion") else None,
landlord_construction_age_band=row.get("landlord_construction_age_band"),
lmk_key=None,
epc_certificate_number=None,
)
@staticmethod

View file

@ -561,6 +561,8 @@ def test_solar_with_battery_example(db_session):
creation_status=PropertyCreationStatus[row.creation_status.split(".")[-1]],
status=PortfolioStatus[row.status.split(".")[-1]],
uprn=row.uprn,
address=row.address,
postcode=row.postcode,
property_type=row.property_type,
current_sap_points=row.current_sap_points,
current_epc_rating=Epc[row.current_epc_rating.split(".")[-1]],