mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix warning generated by surpetcare test (#43598)
This commit is contained in:
parent
8f18af9e80
commit
755f15abe3
@ -7,8 +7,8 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
from tests.async_mock import AsyncMock, patch
|
||||
|
||||
|
||||
@fixture()
|
||||
def surepetcare(hass):
|
||||
@fixture
|
||||
async def surepetcare(hass):
|
||||
"""Mock the SurePetcare for easier testing."""
|
||||
with patch("homeassistant.components.surepetcare.SurePetcare") as mock_surepetcare:
|
||||
instance = mock_surepetcare.return_value = SurePetcare(
|
||||
|
Loading…
x
Reference in New Issue
Block a user