mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixed some basic unit tests
This commit is contained in:
parent
8ecd3e4baf
commit
781e19be99
2 changed files with 14 additions and 0 deletions
|
|
@ -187,6 +187,9 @@ class Property:
|
|||
|
||||
# This additional condition data should change how we pass kwargs to this. We should no longer need to pass
|
||||
# kwargs to this class, but instead, we should pass the energy assessment condition data
|
||||
energy_assessment = (
|
||||
{"condition": {}, "energy_assessment_is_newer": False} if energy_assessment is None else energy_assessment
|
||||
)
|
||||
self.energy_assessment_condition_data = energy_assessment["condition"]
|
||||
self.energy_assessment_is_newer = energy_assessment["energy_assessment_is_newer"]
|
||||
|
||||
|
|
|
|||
11
etl/sfr/midlands_portfolio_asset_list.py
Normal file
11
etl/sfr/midlands_portfolio_asset_list.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import pandas as pd
|
||||
|
||||
|
||||
def app():
|
||||
"""
|
||||
This script sets up
|
||||
:return:
|
||||
"""
|
||||
|
||||
# Read in the portfolio EPC data
|
||||
epc_data = pd.read_excel()
|
||||
Loading…
Add table
Reference in a new issue