mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Correct typing in rediscovery tests (#127777)
This commit is contained in:
parent
605aaf955c
commit
7ec911c4df
@ -1346,7 +1346,7 @@ async def test_set_fallback_interval_big(hass: HomeAssistant) -> None:
|
||||
async def test_bluetooth_rediscover(
|
||||
hass: HomeAssistant,
|
||||
entry_domain: str,
|
||||
entry_discovery_keys: tuple,
|
||||
entry_discovery_keys: dict[str, tuple[DiscoveryKey, ...]],
|
||||
entry_source: str,
|
||||
) -> None:
|
||||
"""Test we reinitiate flows when an ignored config entry is removed."""
|
||||
@ -1524,7 +1524,7 @@ async def test_bluetooth_rediscover(
|
||||
async def test_bluetooth_rediscover_no_match(
|
||||
hass: HomeAssistant,
|
||||
entry_domain: str,
|
||||
entry_discovery_keys: tuple,
|
||||
entry_discovery_keys: dict[str, tuple[DiscoveryKey, ...]],
|
||||
entry_source: str,
|
||||
entry_unique_id: str,
|
||||
) -> None:
|
||||
|
@ -1338,7 +1338,7 @@ async def test_ignore_flow(
|
||||
hass: HomeAssistant,
|
||||
hass_ws_client: WebSocketGenerator,
|
||||
flow_context: dict,
|
||||
entry_discovery_keys: tuple,
|
||||
entry_discovery_keys: dict[str, tuple[DiscoveryKey, ...]],
|
||||
) -> None:
|
||||
"""Test we can ignore a flow."""
|
||||
assert await async_setup_component(hass, "config", {})
|
||||
|
@ -1212,7 +1212,7 @@ async def test_aiodiscover_finds_new_hosts_after_interval(hass: HomeAssistant) -
|
||||
async def test_dhcp_rediscover(
|
||||
hass: HomeAssistant,
|
||||
entry_domain: str,
|
||||
entry_discovery_keys: tuple,
|
||||
entry_discovery_keys: dict[str, tuple[DiscoveryKey, ...]],
|
||||
entry_source: str,
|
||||
) -> None:
|
||||
"""Test we reinitiate flows when an ignored config entry is removed."""
|
||||
@ -1303,7 +1303,7 @@ async def test_dhcp_rediscover(
|
||||
async def test_dhcp_rediscover_no_match(
|
||||
hass: HomeAssistant,
|
||||
entry_domain: str,
|
||||
entry_discovery_keys: tuple,
|
||||
entry_discovery_keys: dict[str, tuple[DiscoveryKey, ...]],
|
||||
entry_source: str,
|
||||
entry_unique_id: str,
|
||||
) -> None:
|
||||
|
@ -952,7 +952,7 @@ async def test_ssdp_rediscover(
|
||||
aioclient_mock: AiohttpClientMocker,
|
||||
mock_flow_init,
|
||||
entry_domain: str,
|
||||
entry_discovery_keys: tuple,
|
||||
entry_discovery_keys: dict[str, tuple[DiscoveryKey, ...]],
|
||||
entry_source: str,
|
||||
) -> None:
|
||||
"""Test we reinitiate flows when an ignored config entry is removed."""
|
||||
@ -1048,7 +1048,7 @@ async def test_ssdp_rediscover_no_match(
|
||||
hass: HomeAssistant,
|
||||
mock_flow_init,
|
||||
entry_domain: str,
|
||||
entry_discovery_keys: tuple,
|
||||
entry_discovery_keys: dict[str, tuple[DiscoveryKey, ...]],
|
||||
entry_source: str,
|
||||
entry_unique_id: str,
|
||||
) -> None:
|
||||
|
@ -1467,7 +1467,7 @@ async def test_zeroconf_removed(hass: HomeAssistant) -> None:
|
||||
async def test_zeroconf_rediscover(
|
||||
hass: HomeAssistant,
|
||||
entry_domain: str,
|
||||
entry_discovery_keys: tuple,
|
||||
entry_discovery_keys: dict[str, tuple[DiscoveryKey, ...]],
|
||||
entry_source: str,
|
||||
) -> None:
|
||||
"""Test we reinitiate flows when an ignored config entry is removed."""
|
||||
@ -1583,7 +1583,7 @@ async def test_zeroconf_rediscover(
|
||||
async def test_zeroconf_rediscover_no_match(
|
||||
hass: HomeAssistant,
|
||||
entry_domain: str,
|
||||
entry_discovery_keys: tuple,
|
||||
entry_discovery_keys: dict[str, tuple[DiscoveryKey, ...]],
|
||||
entry_source: str,
|
||||
entry_unique_id: str,
|
||||
) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user