From 78773ca633ea12544f61e2bcff7b54711195713c Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Mon, 20 Apr 2026 12:50:30 +0000 Subject: [PATCH] =?UTF-8?q?Get=20floor=20number=20from=20floor=20name=20?= =?UTF-8?q?=F0=9F=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/documents_parser/tests/test_end_to_end.py | 3 +++ datatypes/epc/domain/tests/test_from_site_notes.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/backend/documents_parser/tests/test_end_to_end.py b/backend/documents_parser/tests/test_end_to_end.py index 359a4ea8..f35dfd94 100644 --- a/backend/documents_parser/tests/test_end_to_end.py +++ b/backend/documents_parser/tests/test_end_to_end.py @@ -183,12 +183,14 @@ class TestPdfToEpcPropertyData: total_floor_area_m2=35.68, party_wall_length_m=10.62, heat_loss_perimeter_m=13.44, + floor=1, ), SapFloorDimension( room_height_m=2.17, total_floor_area_m2=35.68, party_wall_length_m=10.62, heat_loss_perimeter_m=11.0, + floor=0, ), ], wall_thickness_mm=310, @@ -206,6 +208,7 @@ class TestPdfToEpcPropertyData: total_floor_area_m2=3.8, party_wall_length_m=0.0, heat_loss_perimeter_m=5.7, + floor=0, ), ], wall_thickness_mm=310, diff --git a/datatypes/epc/domain/tests/test_from_site_notes.py b/datatypes/epc/domain/tests/test_from_site_notes.py index 81efe32d..6ae4c851 100644 --- a/datatypes/epc/domain/tests/test_from_site_notes.py +++ b/datatypes/epc/domain/tests/test_from_site_notes.py @@ -464,12 +464,14 @@ class TestFromSiteNotesExample1: total_floor_area_m2=24.78, party_wall_length_m=6.15, heat_loss_perimeter_m=14.21, + floor=1, ), SapFloorDimension( room_height_m=2.35, total_floor_area_m2=24.78, party_wall_length_m=6.15, heat_loss_perimeter_m=14.21, + floor=0, ), ], wall_thickness_mm=280,