Skip to content

Commit

Permalink
Update requirements and tests to match 2024.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jdejaegh committed Nov 9, 2024
1 parent 89db47f commit bd22b62
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
aiohttp==3.10.8
aiohttp==3.10.10
async-timeout==4.0.3
homeassistant==2024.10.4
homeassistant==2024.11.1
voluptuous==0.15.2
svgwrite==1.4.3
aiofile==3.9.0
4 changes: 2 additions & 2 deletions requirements_tests.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
homeassistant==2024.10.4
pytest_homeassistant_custom_component==0.13.175
homeassistant==2024.11.1
pytest_homeassistant_custom_component==0.13.182
pytest
freezegun
isort
7 changes: 4 additions & 3 deletions tests/test_weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from freezegun import freeze_time
from homeassistant.components.weather import Forecast
from homeassistant.config_entries import ConfigEntryState
from homeassistant.core import HomeAssistant
from pytest_homeassistant_custom_component.common import MockConfigEntry

Expand All @@ -28,7 +29,7 @@ async def test_weather_nl(
hass.config.config_dir = os.getcwd()

coordinator = IrmKmiCoordinator(hass, mock_config_entry)
await coordinator.async_config_entry_first_refresh()
await coordinator.async_refresh()

weather = IrmKmiWeather(coordinator, mock_config_entry)
result = await weather.async_forecast_daily()
Expand Down Expand Up @@ -56,7 +57,7 @@ async def test_weather_higher_temp_at_night(
hass.config.config_dir = os.getcwd()

coordinator = IrmKmiCoordinator(hass, mock_config_entry)
await coordinator.async_config_entry_first_refresh()
await coordinator.async_refresh()

weather = IrmKmiWeather(coordinator, mock_config_entry)
result: List[Forecast] = await weather.async_forecast_daily()
Expand Down Expand Up @@ -86,7 +87,7 @@ async def test_forecast_attribute_same_as_service_call(
hass.config.config_dir = os.getcwd()

coordinator = IrmKmiCoordinator(hass, mock_config_entry_with_deprecated)
await coordinator.async_config_entry_first_refresh()
await coordinator.async_refresh()

weather = IrmKmiWeather(coordinator, mock_config_entry_with_deprecated)

Expand Down

0 comments on commit bd22b62

Please sign in to comment.