Skip to content

Commit

Permalink
Remove check_api_state mock to improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Nov 2, 2023
1 parent 71d7b0a commit f6a3e38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f6a3e38

Please sign in to comment.