Address device helper review comments (#120615)
* Address review comments from #119761 * Address review comments from #119761 * Address review comments from #119761 * Remove reference from config entry
This commit is contained in:
parent
28e72753ad
commit
617ab48fa9
2 changed files with 18 additions and 7 deletions
|
@ -169,7 +169,7 @@ async def test_remove_stale_device_links_keep_entity_device(
|
|||
config_entry.entry_id
|
||||
)
|
||||
|
||||
# After cleanup, only one device is expected to be linked to the configuration entry if at least source_entity_id_or_uuid or device_id was given, else zero
|
||||
# After cleanup, only one device is expected to be linked to the config entry
|
||||
assert len(devices_config_entry) == 1
|
||||
|
||||
assert current_device in devices_config_entry
|
||||
|
@ -220,7 +220,7 @@ async def test_remove_stale_devices_links_keep_current_device(
|
|||
config_entry.entry_id
|
||||
)
|
||||
|
||||
# After cleanup, only one device is expected to be linked to the configuration entry
|
||||
# After cleanup, only one device is expected to be linked to the config entry
|
||||
assert len(devices_config_entry) == 1
|
||||
|
||||
assert current_device in devices_config_entry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue