mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Map to RdSapSiteNotes from site notes JSON: additional General test 🟩
This commit is contained in:
parent
bb648b8223
commit
1db9c68878
1 changed files with 21 additions and 0 deletions
|
|
@ -54,3 +54,24 @@ class TestGeneral:
|
|||
|
||||
def test_measurements_location(self, general: General) -> None:
|
||||
assert general.measurements_location == "Internal"
|
||||
|
||||
def test_full_general(self, general: General) -> None:
|
||||
assert general == General(
|
||||
epc_checked_before_assessment=True,
|
||||
epc_exists_at_point_of_assessment=False,
|
||||
inspection_date="2025-09-25",
|
||||
transaction_type="Grant-Scheme (ECO, RHI, etc.)",
|
||||
tenure="Rented Social",
|
||||
property_type="House",
|
||||
detachment_type="Mid-terrace",
|
||||
number_of_storeys=2,
|
||||
terrain_type="Suburban",
|
||||
number_of_extensions=1,
|
||||
electricity_smart_meter=True,
|
||||
electric_meter_type="Single",
|
||||
dwelling_export_capable=True,
|
||||
mains_gas_available=True,
|
||||
gas_smart_meter=True,
|
||||
gas_meter_accessible=True,
|
||||
measurements_location="Internal",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue