mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
Fix non python 3.8 compliant test (#832)
This commit is contained in:
parent
c08b58cd8b
commit
0f3b29183d
@ -99,6 +99,6 @@ async def test_update_module_queries(dev: SmartDevice, mocker: MockerFixture):
|
|||||||
await dev.update()
|
await dev.update()
|
||||||
full_query: Dict[str, Any] = {}
|
full_query: Dict[str, Any] = {}
|
||||||
for mod in dev.modules.values():
|
for mod in dev.modules.values():
|
||||||
full_query |= mod.query()
|
full_query = {**full_query, **mod.query()}
|
||||||
|
|
||||||
query.assert_called_with(full_query)
|
query.assert_called_with(full_query)
|
||||||
|
Loading…
Reference in New Issue
Block a user