correct unittest

This commit is contained in:
Guille Gutierrez 2023-08-08 10:10:04 -04:00
parent 90a196465a
commit a3bf594071
2 changed files with 12 additions and 11 deletions

View File

@ -38,7 +38,8 @@ class ConstructionHelper:
'Levis': '7A', 'Levis': '7A',
'Quebec City': '7A', 'Quebec City': '7A',
'Kelowna': '5', 'Kelowna': '5',
'Park Slope': '4' 'Park Slope': '4',
'Varennes': '6'
} }
_reference_city_to_israel_climate_zone = { _reference_city_to_israel_climate_zone = {

View File

@ -256,16 +256,16 @@ TestDBFactory
{'yearly_lighting_peak_load': yearly_lighting_peak_load}, {'yearly_lighting_peak_load': yearly_lighting_peak_load},
{'monthly_appliances_peak_load': monthly_appliances_peak_load}, {'monthly_appliances_peak_load': monthly_appliances_peak_load},
{'yearly_appliances_peak_load': yearly_appliances_peak_load}, {'yearly_appliances_peak_load': yearly_appliances_peak_load},
{'monthly_cooling_demand': monthly_cooling_demand.tolist()}, {'monthly_cooling_demand': monthly_cooling_demand},
{'yearly_cooling_demand': yearly_cooling_demand.tolist()}, {'yearly_cooling_demand': yearly_cooling_demand},
{'monthly_heating_demand': monthly_heating_demand.tolist()}, {'monthly_heating_demand': monthly_heating_demand},
{'yearly_heating_demand': yearly_heating_demand.tolist()}, {'yearly_heating_demand': yearly_heating_demand},
{'monthly_lighting_electrical_demand': monthly_lighting_electrical_demand.tolist()}, {'monthly_lighting_electrical_demand': monthly_lighting_electrical_demand},
{'yearly_lighting_electrical_demand': yearly_lighting_electrical_demand.tolist()}, {'yearly_lighting_electrical_demand': yearly_lighting_electrical_demand},
{'monthly_appliances_electrical_demand': monthly_appliances_electrical_demand.tolist()}, {'monthly_appliances_electrical_demand': monthly_appliances_electrical_demand},
{'yearly_appliances_electrical_demand': yearly_appliances_electrical_demand.tolist()}, {'yearly_appliances_electrical_demand': yearly_appliances_electrical_demand},
{'monthly_domestic_hot_water_heat_demand': monthly_domestic_hot_water_heat_demand.tolist()}, {'monthly_domestic_hot_water_heat_demand': monthly_domestic_hot_water_heat_demand},
{'yearly_domestic_hot_water_heat_demand': yearly_domestic_hot_water_heat_demand.tolist()}, {'yearly_domestic_hot_water_heat_demand': yearly_domestic_hot_water_heat_demand},
{'monthly_heating_consumption': monthly_heating_consumption}, {'monthly_heating_consumption': monthly_heating_consumption},
{'yearly_heating_consumption': yearly_heating_consumption}, {'yearly_heating_consumption': yearly_heating_consumption},
{'monthly_cooling_consumption': monthly_cooling_consumption}, {'monthly_cooling_consumption': monthly_cooling_consumption},