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:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user