Improve type hints in otbr tests (#123814)
This commit is contained in:
parent
4cc3f7211b
commit
e8157ed9a2
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ from tests.common import MockConfigEntry
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(name="otbr_config_entry_multipan")
|
@pytest.fixture(name="otbr_config_entry_multipan")
|
||||||
async def otbr_config_entry_multipan_fixture(hass):
|
async def otbr_config_entry_multipan_fixture(hass: HomeAssistant) -> None:
|
||||||
"""Mock Open Thread Border Router config entry."""
|
"""Mock Open Thread Border Router config entry."""
|
||||||
config_entry = MockConfigEntry(
|
config_entry = MockConfigEntry(
|
||||||
data=CONFIG_ENTRY_DATA_MULTIPAN,
|
data=CONFIG_ENTRY_DATA_MULTIPAN,
|
||||||
|
@ -46,7 +46,7 @@ async def otbr_config_entry_multipan_fixture(hass):
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(name="otbr_config_entry_thread")
|
@pytest.fixture(name="otbr_config_entry_thread")
|
||||||
async def otbr_config_entry_thread_fixture(hass):
|
async def otbr_config_entry_thread_fixture(hass: HomeAssistant) -> None:
|
||||||
"""Mock Open Thread Border Router config entry."""
|
"""Mock Open Thread Border Router config entry."""
|
||||||
config_entry = MockConfigEntry(
|
config_entry = MockConfigEntry(
|
||||||
data=CONFIG_ENTRY_DATA_THREAD,
|
data=CONFIG_ENTRY_DATA_THREAD,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue