Skip to content

Commit

Permalink
added the test
Browse files Browse the repository at this point in the history
  • Loading branch information
john-zither committed Nov 10, 2024
1 parent 3e465fb commit 1be1f25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/test_core_single_stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
core_cooling_day_set_type_5,
thermostat_zero_days,
thermostats_multiple_same_key,
thermostat_missing_days_cooling
thermostat_heat_pump_electric_and_no_electric_backup
)

from .fixtures.metrics_data import(
Expand Down Expand Up @@ -406,7 +406,7 @@ def test_thermostat_type_1_get_resistance_heat_utilization_bins_rhu1(thermostat_

assert rhu is None

"""def test_thermostat_type_1_get_exclude_no_electric_from_rhu(thermostat_missing_days_cooling,
def test_thermostat_type_1_get_exclude_no_electric_from_rhu(thermostat_heat_pump_electric_and_no_electric_backup,
core_heating_day_set_type_1_entire, metrics_type_1_data):

start = 0
Expand Down Expand Up @@ -436,7 +436,7 @@ def test_thermostat_type_1_get_resistance_heat_utilization_bins_rhu1(thermostat_
core_heating_day_set_type_1_entire)

assert rhu is None
"""

def test_thermostat_type_1_get_resistance_heat_utilization_bins_rhu2(thermostat_type_1,
core_heating_day_set_type_1_entire, metrics_type_1_data):

Expand Down
2 changes: 1 addition & 1 deletion thermostat/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def get_resistance_heat_utilization_runtime(self, core_heating_day_set):
not control the appropriate equipment.
"""

# self._protect_aux_emerg()
self._protect_aux_emerg()
self._protect_resistance_heat()

in_core_day_set_daily = self._get_range_boolean(
Expand Down

0 comments on commit 1be1f25

Please sign in to comment.