mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Mapper reads 'Individual Trickle Vent' label variant 🟥
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3461b54498
commit
33061ba347
1 changed files with 14 additions and 0 deletions
|
|
@ -255,3 +255,17 @@ def test_trickle_vent_area_read_from_legacy_field_label() -> None:
|
||||||
# Assert
|
# Assert
|
||||||
assert vent is not None
|
assert vent is not None
|
||||||
assert vent.trickle_vent_area_mm2 == 1700
|
assert vent.trickle_vent_area_mm2 == 1700
|
||||||
|
|
||||||
|
|
||||||
|
def test_trickle_vent_area_read_from_individual_field_label() -> None:
|
||||||
|
# Arrange — "Individual" variant used in some MagicPlan templates
|
||||||
|
fields = [_make_survey_field(
|
||||||
|
"Individual Trickle Vent Effective Area (mm2) (No Code Then Width x Height)", "900"
|
||||||
|
)]
|
||||||
|
|
||||||
|
# Act
|
||||||
|
vent = _map_window_ventilation(fields)
|
||||||
|
|
||||||
|
# Assert
|
||||||
|
assert vent is not None
|
||||||
|
assert vent.trickle_vent_area_mm2 == 900
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue