diff --git a/tests/components/cloud/snapshots/test_http_api.ambr b/tests/components/cloud/snapshots/test_http_api.ambr index 8be82b31bc8c1..f15149189a55e 100644 --- a/tests/components/cloud/snapshots/test_http_api.ambr +++ b/tests/components/cloud/snapshots/test_http_api.ambr @@ -238,7 +238,6 @@
Logs ```logs - 2025-02-10 12:00:00.000 INFO (MainThread) [hass_nabucasa.iot] This message will be dropped since this test patches MAX_RECORDS 2025-02-10 12:00:00.000 INFO (MainThread) [hass_nabucasa.iot] Hass nabucasa log 2025-02-10 12:00:00.000 WARNING (MainThread) [snitun.utils.aiohttp_client] Snitun log 2025-02-10 12:00:00.000 ERROR (MainThread) [homeassistant.components.cloud.client] Cloud log @@ -320,7 +319,6 @@
Logs ```logs - 2025-02-10 12:00:00.000 INFO (MainThread) [hass_nabucasa.iot] This message will be dropped since this test patches MAX_RECORDS 2025-02-10 12:00:00.000 INFO (MainThread) [hass_nabucasa.iot] Hass nabucasa log 2025-02-10 12:00:00.000 WARNING (MainThread) [snitun.utils.aiohttp_client] Snitun log 2025-02-10 12:00:00.000 ERROR (MainThread) [homeassistant.components.cloud.client] Cloud log diff --git a/tests/components/cloud/test_http_api.py b/tests/components/cloud/test_http_api.py index 3d57ac36f5e17..9ce8c3b7e8488 100644 --- a/tests/components/cloud/test_http_api.py +++ b/tests/components/cloud/test_http_api.py @@ -2916,6 +2916,7 @@ async def mock_empty_info(hass: HomeAssistant) -> dict[str, Any]: assert await req.text() == snapshot +@patch("homeassistant.components.cloud.helpers.FixedSizeQueueLogHandler.MAX_RECORDS", 3) @pytest.mark.usefixtures("enable_custom_integrations") async def test_download_support_package_custom_components_error( hass: HomeAssistant, @@ -3035,6 +3036,7 @@ async def mock_empty_info(hass: HomeAssistant) -> dict[str, Any]: assert await req.text() == snapshot +@patch("homeassistant.components.cloud.helpers.FixedSizeQueueLogHandler.MAX_RECORDS", 3) @pytest.mark.usefixtures("enable_custom_integrations") async def test_download_support_package_integration_load_error( hass: HomeAssistant,