Fix warning generated by surpetcare test (#43598)
This commit is contained in:
parent
8f18af9e80
commit
755f15abe3
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue