From 68585f4356e06c69203fb289af231047b5250c95 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 24 Jun 2025 00:24:40 +0200 Subject: [PATCH] Update pytests --- tests/components/hassio/test_init.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/components/hassio/test_init.py b/tests/components/hassio/test_init.py index c8a2852be40..c1359e4864c 100644 --- a/tests/components/hassio/test_init.py +++ b/tests/components/hassio/test_init.py @@ -843,7 +843,7 @@ async def test_device_registry_calls( config_entry.add_to_hass(hass) assert await hass.config_entries.async_setup(config_entry.entry_id) await hass.async_block_till_done(wait_background_tasks=True) - assert len(device_registry.devices) == 5 + assert len(device_registry.devices) == 6 supervisor_mock_data = { "version": "1.0.0", @@ -877,11 +877,11 @@ async def test_device_registry_calls( ): async_fire_time_changed(hass, dt_util.now() + timedelta(hours=1)) await hass.async_block_till_done(wait_background_tasks=True) - assert len(device_registry.devices) == 5 + assert len(device_registry.devices) == 6 async_fire_time_changed(hass, dt_util.now() + timedelta(hours=2)) await hass.async_block_till_done(wait_background_tasks=True) - assert len(device_registry.devices) == 5 + assert len(device_registry.devices) == 6 supervisor_mock_data = { "version": "1.0.0", @@ -935,7 +935,7 @@ async def test_device_registry_calls( ): async_fire_time_changed(hass, dt_util.now() + timedelta(hours=3)) await hass.async_block_till_done() - assert len(device_registry.devices) == 5 + assert len(device_registry.devices) == 6 @pytest.mark.usefixtures("addon_installed")