From ccc0d8603b81fa8a1d9bc29a5872f775d7322a40 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Fri, 17 Nov 2023 12:16:11 +0000 Subject: [PATCH] fixed property unit tests --- backend/tests/test_property.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/backend/tests/test_property.py b/backend/tests/test_property.py index d7028bc6..b376db9e 100644 --- a/backend/tests/test_property.py +++ b/backend/tests/test_property.py @@ -227,7 +227,8 @@ class TestProperty: "mainheat-description": [{"original_description": "Main Heating Description"}], "hotwater-description": [{"original_description": "Hot Water Description"}], "lighting-description": [{"original_description": "Good Lighting Efficiency"}], - "floor-description": [{"original_description": "Floor Description", "is_suspended": True}] + "floor-description": [ + {"original_description": "Floor Description", "is_suspended": True, "another_property_below": False}] } return mock_cleaner @@ -317,7 +318,9 @@ class TestProperty: } property_instance.floor = { - "is_suspended": False + "is_suspended": False, + "another_property_below": False, + "is_solid": True } # Assert backup cleaning has been applied