From 52573074f076b76be4d39ef7fb0220661174b842 Mon Sep 17 00:00:00 2001 From: abmantis Date: Tue, 29 Jul 2025 17:11:35 +0100 Subject: [PATCH] Fix translations test --- tests/helpers/test_translation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/helpers/test_translation.py b/tests/helpers/test_translation.py index 3593db9cf87..e20e0dd9233 100644 --- a/tests/helpers/test_translation.py +++ b/tests/helpers/test_translation.py @@ -450,10 +450,10 @@ async def test_caching(hass: HomeAssistant) -> None: side_effect=translation.build_resources, ) as mock_build_resources: load1 = await translation.async_get_translations(hass, "en", "entity_component") - assert len(mock_build_resources.mock_calls) == 7 + assert len(mock_build_resources.mock_calls) == 8 load2 = await translation.async_get_translations(hass, "en", "entity_component") - assert len(mock_build_resources.mock_calls) == 7 + assert len(mock_build_resources.mock_calls) == 8 assert load1 == load2