mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-08-02 12:58:30 +00:00
Normalize PasHub main-heating Mains gas to SAP fuel code 26 🟥
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3dd86f296d
commit
52c5826afc
1 changed files with 3 additions and 2 deletions
|
|
@ -160,8 +160,9 @@ class TestFromSiteNotesExample1:
|
|||
# --- main heating ---
|
||||
|
||||
def test_main_heating_fuel(self, result: EpcPropertyData) -> None:
|
||||
# heating_and_hot_water.main_heating.fuel: "Mains gas"
|
||||
assert result.sap_heating.main_heating_details[0].main_fuel_type == "Mains gas"
|
||||
# heating_and_hot_water.main_heating.fuel: "Mains gas" is normalized
|
||||
# at the mapper boundary to SAP fuel code 26 (matching Elmhurst).
|
||||
assert result.sap_heating.main_heating_details[0].main_fuel_type == 26
|
||||
|
||||
def test_main_heating_emitter(self, result: EpcPropertyData) -> None:
|
||||
# heating_and_hot_water.main_heating.emitter: "Radiators"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue