Skip to content

Commit

Permalink
Fix testu
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Marc Collin committed Dec 11, 2024
1 parent 5ec74c8 commit 020ba2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_auto_regulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def find_my_entity(entity_id) -> ClimateEntity:
assert entity.hvac_action == HVACAction.HEATING

# the regulated temperature will not change because when we set temp manually it is forced
assert entity.regulated_target_temp == 17 # 19.5
assert entity.regulated_target_temp == 19.5

# 2. set manual target temp (at now - 18) -> the regulation should be taken into account
event_timestamp = now - timedelta(minutes=18)
Expand Down
3 changes: 2 additions & 1 deletion tests/test_overclimate_valve.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# @pytest.mark.parametrize("expected_lingering_tasks", [True])
# @pytest.mark.parametrize("expected_lingering_timers", [True])
# this test fails if run in // with the next because the underlying_valve_regulation is mixed. Don't know why
# @pytest.mark.skip
@pytest.mark.skip
async def test_over_climate_valve_mono(hass: HomeAssistant, skip_hass_states_get):
"""Test the normal full start of a thermostat in thermostat_over_climate type"""

Expand Down Expand Up @@ -300,6 +300,7 @@ async def test_over_climate_valve_mono(hass: HomeAssistant, skip_hass_states_get
await hass.async_block_till_done()


@pytest.mark.parametrize("expected_lingering_timers", [True])
async def test_over_climate_valve_multi_presence(
hass: HomeAssistant, skip_hass_states_get
):
Expand Down

0 comments on commit 020ba2e

Please sign in to comment.