From f6a3e389c967488509e3589887df8dbbd3efcff6 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 2 Nov 2023 12:24:56 +0100 Subject: [PATCH] Remove check_api_state mock to improve test coverage --- tests/conftest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 86c3a531eeb..140b5080c1e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -353,7 +353,6 @@ async def coresys( ) # WebSocket - coresys_obj.homeassistant.api.check_api_state = AsyncMock(return_value=True) coresys_obj.homeassistant.api.get_api_state = AsyncMock(return_value="RUNNING") coresys_obj.homeassistant._websocket._client = AsyncMock( ha_version=AwesomeVersion("2021.2.4")