mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Improve type hints in sharkiq tests (#123888)
This commit is contained in:
parent
f8879a51fe
commit
7ff368fe0d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user