Fix non python 3.8 compliant test (#832)

This commit is contained in:
Steven B 2024-03-28 11:38:58 +00:00 committed by GitHub
parent c08b58cd8b
commit 0f3b29183d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,6 +99,6 @@ async def test_update_module_queries(dev: SmartDevice, mocker: MockerFixture):
await dev.update()
full_query: Dict[str, Any] = {}
for mod in dev.modules.values():
full_query |= mod.query()
full_query = {**full_query, **mod.query()}
query.assert_called_with(full_query)