mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-21 12:10:25 +00:00
Fix incorrect state updates in FakeTestProtocols (#861)
This commit is contained in:
@@ -295,6 +295,7 @@ async def test_modify_preset(dev: IotBulb, mocker):
|
||||
assert preset.color_temp == 0
|
||||
|
||||
await dev.save_preset(preset)
|
||||
await dev.update()
|
||||
assert dev.presets[0].brightness == 10
|
||||
|
||||
with pytest.raises(KasaException):
|
||||
|
||||
Reference in New Issue
Block a user