Use dataclass properties in keenetic_ndms2 tests (#60892)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
9f4a99fe81
commit
2da9a51919
1 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ async def test_ssdp_ignored(hass: HomeAssistant) -> None:
|
|||
entry = MockConfigEntry(
|
||||
domain=keenetic.DOMAIN,
|
||||
source=config_entries.SOURCE_IGNORE,
|
||||
unique_id=MOCK_SSDP_DISCOVERY_INFO[ssdp.ATTR_UPNP_UDN],
|
||||
unique_id=MOCK_SSDP_DISCOVERY_INFO.upnp[ssdp.ATTR_UPNP_UDN],
|
||||
)
|
||||
entry.add_to_hass(hass)
|
||||
|
||||
|
@ -240,7 +240,7 @@ async def test_ssdp_update_host(hass: HomeAssistant) -> None:
|
|||
domain=keenetic.DOMAIN,
|
||||
data=MOCK_DATA,
|
||||
options=MOCK_OPTIONS,
|
||||
unique_id=MOCK_SSDP_DISCOVERY_INFO[ssdp.ATTR_UPNP_UDN],
|
||||
unique_id=MOCK_SSDP_DISCOVERY_INFO.upnp[ssdp.ATTR_UPNP_UDN],
|
||||
)
|
||||
entry.add_to_hass(hass)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue