import datetime
import pytest
from act.action_manage_power_state_for_space_heating import ManageSpaceHeatingPower
from act.temperature_thresholds import TemperatureThresholds
@pytest.mark.parametrize(
["flow_temp", "return_temp", "outdoor_temp", "low", "high"],
[
pytest.param(10, 10, 10, 30, 43, id="Cold flow and warm outside"),
pytest.param(33, 28, 10, 28, 45, id="Warm flow and warm outside"),
pytest.param(40, 33, 10, 33, 45, id="Hot flow and warm outside"),
pytest.param(10, 10, 3, 20, 30, id="Cold flow and cold outside"),
pytest.param(33, 22, 3, 28, 35, id="Warm flow and cold outside"),
pytest.param(41, 27, 3, 28, 45, id="Hot flow and cold outside"),
],
)
def test_startup_flow_temperature_is_sensible(flow_temp, return_temp, outdoor_temp, low, high):
This file has been truncated. show original