mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Adjust bond tests which create devices (#98183)
This commit is contained in:
parent
fcdfeb74c8
commit
3fdc98063e
@ -159,6 +159,7 @@ async def test_old_identifiers_are_removed(hass: HomeAssistant) -> None:
|
||||
domain=DOMAIN,
|
||||
data={CONF_HOST: "some host", CONF_ACCESS_TOKEN: "test-token"},
|
||||
)
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
old_identifers = (DOMAIN, "device_id")
|
||||
new_identifiers = (DOMAIN, "ZXXX12345", "device_id")
|
||||
@ -170,8 +171,6 @@ async def test_old_identifiers_are_removed(hass: HomeAssistant) -> None:
|
||||
name="old",
|
||||
)
|
||||
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
with patch_bond_bridge(), patch_bond_version(
|
||||
return_value={
|
||||
"bondid": "ZXXX12345",
|
||||
|
Loading…
x
Reference in New Issue
Block a user