1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Clear caplog in Ecovacs tests (#155404)

This commit is contained in:
Robert Resch
2025-10-29 14:33:43 +01:00
committed by GitHub
parent dbda31f6d5
commit 80912045d7

View File

@@ -169,6 +169,9 @@ async def init_integration(
platforms: Platform | list[Platform],
) -> AsyncGenerator[MockConfigEntry]:
"""Set up the Ecovacs integration for testing."""
# Workaround for https://github.com/home-assistant/core/issues/155417
caplog.clear()
if not isinstance(platforms, list):
platforms = [platforms]