mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Merge pull request #1415 from Hestia-Homes/fix/repin-golden-0036-tune-up-after-1399
Re-pin golden cert 0036 after #1399 (its PCDB boiler now fires a zoned tune-up)
This commit is contained in:
commit
0f6e6e4936
1 changed files with 10 additions and 3 deletions
|
|
@ -169,10 +169,17 @@ def test_few_measure_cert_surfaces_only_its_fired_measures_triggers() -> None:
|
|||
|
||||
# Assert — 0036's gain-maximising package is solid-floor insulation plus the
|
||||
# low-energy-lighting upgrade (it lodges 7 low-energy + 0 incandescent fixed
|
||||
# bulbs, so the LED top-up is a cheap positive-SAP lever, ADR-0023), and
|
||||
# nothing else.
|
||||
# bulbs, so the LED top-up is a cheap positive-SAP lever, ADR-0023) plus a
|
||||
# zoned system tune-up: 0036 lodges its gas boiler as a PCDB main-heating
|
||||
# index with no SAP code, which the heating generators now classify as a wet
|
||||
# boiler eligible for a tune-up (#1399), so the boiler's controls upgrade
|
||||
# joins the package.
|
||||
triggers: dict[str, MeasureTrigger] = _triggers_by_measure(report)
|
||||
assert set(triggers) == {"solid_floor_insulation", "low_energy_lighting"}
|
||||
assert set(triggers) == {
|
||||
"solid_floor_insulation",
|
||||
"low_energy_lighting",
|
||||
"system_tune_up_zoned",
|
||||
}
|
||||
assert triggers["solid_floor_insulation"].triggers == {
|
||||
"floor_insulation_thickness": None,
|
||||
"floor_construction_type": "Solid",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue