Skip to content

Commit f8c7f03

Browse files
committed
Increase device and entry asserts due to added devices
1 parent 0196fdf commit f8c7f03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/components/plugwise/test_init.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,11 @@ async def test_update_device(
297297

298298
assert (
299299
len(er.async_entries_for_config_entry(entity_registry, mock_config_entry.entry_id))
300-
== 38
300+
== 49
301301
)
302302
assert (
303303
len(dr.async_entries_for_config_entry(device_registry, mock_config_entry.entry_id))
304-
== 8
304+
== 10
305305
)
306306

307307
# Add a 2nd Tom/Floor
@@ -321,11 +321,11 @@ async def test_update_device(
321321

322322
assert (
323323
len(er.async_entries_for_config_entry(entity_registry, mock_config_entry.entry_id))
324-
== 45
324+
== 56
325325
)
326326
assert (
327327
len(dr.async_entries_for_config_entry(device_registry, mock_config_entry.entry_id))
328-
== 9
328+
== 11
329329
)
330330
item_list: list[str] = []
331331
for device_entry in device_registry.devices.values():
@@ -348,11 +348,11 @@ async def test_update_device(
348348

349349
assert (
350350
len(er.async_entries_for_config_entry(entity_registry, mock_config_entry.entry_id))
351-
== 38
351+
== 49
352352
)
353353
assert (
354354
len(dr.async_entries_for_config_entry(device_registry, mock_config_entry.entry_id))
355-
== 8
355+
== 10
356356
)
357357
item_list: list[str] = []
358358
for device_entry in device_registry.devices.values():

0 commit comments

Comments
 (0)