mocking data for property class tests

This commit is contained in:
Khalim Conn-Kowlessar 2025-05-14 15:40:42 +01:00
parent 9f46b23b72
commit 5201cab4a9

View file

@ -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