mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 21:40:16 +00:00
Add type hint to mock_async_zeroconf in test fixtures (#119057)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
"""Test fixtures for the Thread integration."""
|
||||
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.components import thread
|
||||
@@ -24,5 +26,5 @@ async def thread_config_entry_fixture(hass: HomeAssistant):
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def use_mocked_zeroconf(mock_async_zeroconf):
|
||||
def use_mocked_zeroconf(mock_async_zeroconf: MagicMock) -> None:
|
||||
"""Mock zeroconf in all tests."""
|
||||
|
||||
Reference in New Issue
Block a user