Fix implicit-return in surepetcare tests (#122785)

This commit is contained in:
epenet
2024-07-29 22:03:44 +02:00
committed by GitHub
parent b8c363a82c
commit bf38db0035

View File

@@ -17,6 +17,7 @@ from tests.common import MockConfigEntry
async def _mock_call(method, resource): async def _mock_call(method, resource):
if method == "GET" and resource == MESTART_RESOURCE: if method == "GET" and resource == MESTART_RESOURCE:
return {"data": MOCK_API_DATA} return {"data": MOCK_API_DATA}
return None
@pytest.fixture @pytest.fixture