From 561a965c69b4f34b3c5c4b3feaaa83c3e5e5867c Mon Sep 17 00:00:00 2001 From: Yu Feng Date: Thu, 5 Dec 2024 23:13:19 -0800 Subject: [PATCH] linter fixes. --- tests/test_device_aws.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_device_aws.py b/tests/test_device_aws.py index 285c6dd..2272c83 100644 --- a/tests/test_device_aws.py +++ b/tests/test_device_aws.py @@ -55,7 +55,7 @@ async def set_device_info(device_uuid, service_name, action_verb, action_value): class UnavailableDeviceAwsTest(DeviceAwsTestBase): """Tests for a fake, all attrs are unavailable device. - Other device types shall override setUp and populate self.info with the + Other device types shall override setUp and populate self.info with the golden dataset. """ @@ -96,7 +96,7 @@ async def test_set_brightness(self): # local cache should work assert self.device.brightness == 30 - self.device.brightness == None + self.device.brightness = None await self.device.refresh() assert self.device.brightness == 30