1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Fix a collection of tests with missing asserts (#48127)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Franck Nijhof
2021-03-20 17:23:55 +01:00
committed by GitHub
parent f8755a52c2
commit 08870690a6
7 changed files with 23 additions and 25 deletions

View File

@@ -573,7 +573,7 @@ async def test_loading_saving_data(hass, registry, area_registry):
orig_kitchen_light_witout_suggested_area = registry.async_update_device(
orig_kitchen_light.id, suggested_area=None
)
orig_kitchen_light_witout_suggested_area.suggested_area is None
assert orig_kitchen_light_witout_suggested_area.suggested_area is None
assert orig_kitchen_light_witout_suggested_area == new_kitchen_light