mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
extracy heating immersion type 🟥
This commit is contained in:
parent
fc3742d84d
commit
691efcad72
2 changed files with 12 additions and 0 deletions
|
|
@ -407,6 +407,17 @@ class TestWaterHeatingCylinderThickness:
|
|||
assert hhw.water_heating.cylinder_size == "Normal (90-130 litres)"
|
||||
|
||||
|
||||
class TestImmersionType:
|
||||
@pytest.fixture
|
||||
def hhw(self) -> HeatingAndHotWater:
|
||||
return PasHubRdSapSiteNotesExtractor(
|
||||
load_text_fixture_3()
|
||||
).extract_heating_and_hot_water()
|
||||
|
||||
def test_immersion_type(self, hhw: HeatingAndHotWater) -> None:
|
||||
assert hhw.water_heating.immersion_type == "Dual"
|
||||
|
||||
|
||||
class TestCylinderThermostat:
|
||||
@pytest.fixture
|
||||
def hhw(self) -> HeatingAndHotWater:
|
||||
|
|
|
|||
|
|
@ -191,6 +191,7 @@ class WaterHeating:
|
|||
insulation_type: Optional[str] = None
|
||||
insulation_thickness_mm: Optional[int] = None
|
||||
has_thermostat: Optional[bool] = None
|
||||
immersion_type: Optional[str] = None
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue