1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 17:49:37 +01:00

Improve type hints in sharkiq tests (#123888)

This commit is contained in:
epenet
2024-08-14 12:50:08 +02:00
committed by GitHub
parent f8879a51fe
commit 7ff368fe0d
+1 -1
View File
@@ -141,7 +141,7 @@ class MockShark(SharkIqVacuum):
@pytest.fixture(autouse=True)
@patch("sharkiq.ayla_api.AylaApi", MockAyla)
async def setup_integration(hass):
async def setup_integration(hass: HomeAssistant) -> None:
"""Build the mock integration."""
entry = MockConfigEntry(
domain=DOMAIN, unique_id=TEST_USERNAME, data=CONFIG, entry_id=ENTRY_ID