diff --git a/backend/tests/test_property.py b/backend/tests/test_property.py index 78f08f3c..7f7cc140 100644 --- a/backend/tests/test_property.py +++ b/backend/tests/test_property.py @@ -103,6 +103,11 @@ class TestProperty: property_instance.number_of_rooms = 5 property_instance.floor_area = 100 property_instance.floor_height = 2.5 + + # Fill these values that come from the epc_record + property_instance.energy["primary_energy_consumption"] = 1234 + property_instance.energy["epc_co2_emissions"] = 5 + return property_instance @pytest.fixture