rolled back and error introduced in a previous commit
This commit is contained in:
parent
a331dce966
commit
d29161b05e
@ -578,7 +578,7 @@ class ThermalZone:
|
||||
for i_type, _ in enumerate(_types_reference):
|
||||
_schedules = []
|
||||
_schedule_type = _types_reference[i_type][1]
|
||||
for _, schedule_value in enumerate(_schedule_type):
|
||||
for i_schedule, schedule_value in enumerate(_schedule_type):
|
||||
schedule = Schedule()
|
||||
schedule.type = schedule_value.type
|
||||
schedule.day_types = schedule_value.day_types
|
||||
|
@ -55,6 +55,7 @@ class TestSystemsFactory(TestCase):
|
||||
|
||||
EnergySystemsFactory('montreal_custom', self._city).enrich()
|
||||
self.assertEqual(17, len(self._city.energy_systems_connection_table))
|
||||
self.assertEqual(1, len(self._city.generic_energy_systems))
|
||||
|
||||
def test_montreal_custom_system_results(self):
|
||||
"""
|
||||
@ -126,6 +127,7 @@ class TestSystemsFactory(TestCase):
|
||||
|
||||
EnergySystemsFactory('north_america', self._city).enrich()
|
||||
self.assertEqual(17, len(self._city.energy_systems_connection_table))
|
||||
self.assertEqual(1, len(self._city.generic_energy_systems))
|
||||
|
||||
def test_north_america_custom_system_results(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user