mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
fixing broken unit tests
This commit is contained in:
parent
02cc1b9978
commit
aca503e877
2 changed files with 4 additions and 0 deletions
|
|
@ -110,6 +110,8 @@ class Addresses:
|
||||||
landlord_multi_glaze_proportion=float(row["landlord_multi_glaze_proportion"]) if row.get(
|
landlord_multi_glaze_proportion=float(row["landlord_multi_glaze_proportion"]) if row.get(
|
||||||
"landlord_multi_glaze_proportion") else None,
|
"landlord_multi_glaze_proportion") else None,
|
||||||
landlord_construction_age_band=row.get("landlord_construction_age_band"),
|
landlord_construction_age_band=row.get("landlord_construction_age_band"),
|
||||||
|
lmk_key=None,
|
||||||
|
epc_certificate_number=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
||||||
|
|
@ -561,6 +561,8 @@ def test_solar_with_battery_example(db_session):
|
||||||
creation_status=PropertyCreationStatus[row.creation_status.split(".")[-1]],
|
creation_status=PropertyCreationStatus[row.creation_status.split(".")[-1]],
|
||||||
status=PortfolioStatus[row.status.split(".")[-1]],
|
status=PortfolioStatus[row.status.split(".")[-1]],
|
||||||
uprn=row.uprn,
|
uprn=row.uprn,
|
||||||
|
address=row.address,
|
||||||
|
postcode=row.postcode,
|
||||||
property_type=row.property_type,
|
property_type=row.property_type,
|
||||||
current_sap_points=row.current_sap_points,
|
current_sap_points=row.current_sap_points,
|
||||||
current_epc_rating=Epc[row.current_epc_rating.split(".")[-1]],
|
current_epc_rating=Epc[row.current_epc_rating.split(".")[-1]],
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue