mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
mocking data for property class tests
This commit is contained in:
parent
9f46b23b72
commit
5201cab4a9
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue