mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Pass new cylinder fields through _make_audit test helper
PropertyAudit gained three required cylinder fields; the pre-existing divergence/goal-shortfall tests construct it via _make_audit, which wasn't updated. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
318a859e88
commit
26bcb3e9a6
1 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ def _make_audit(
|
|||
post_band: Optional[str] = None,
|
||||
post_sap: Optional[float] = None,
|
||||
cost_of_works: Optional[float] = None,
|
||||
has_hot_water_cylinder: Optional[bool] = None,
|
||||
cylinder_insulation_type: Optional[int] = None,
|
||||
cylinder_insulation_thickness_mm: Optional[float] = None,
|
||||
) -> PropertyAudit:
|
||||
return PropertyAudit(
|
||||
property_id=1,
|
||||
|
|
@ -41,6 +44,9 @@ def _make_audit(
|
|||
solar_sap_points=None,
|
||||
solar_bill_savings=None,
|
||||
n_measures=0,
|
||||
has_hot_water_cylinder=has_hot_water_cylinder,
|
||||
cylinder_insulation_type=cylinder_insulation_type,
|
||||
cylinder_insulation_thickness_mm=cylinder_insulation_thickness_mm,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue