diff --git a/miio/tests/test_airpurifier.py b/miio/tests/test_airpurifier.py index 853061cbb..48069b110 100644 --- a/miio/tests/test_airpurifier.py +++ b/miio/tests/test_airpurifier.py @@ -174,8 +174,8 @@ def test_status_without_led_b_and_with_bright(self): self.device.state["bright"] = self.device.state["led_b"] del self.device.state["led_b"] - assert self.state().led_brightness == \ - LedBrightness(self.device.start_state["led_b"]) + assert self.state().led_brightness == LedBrightness( + self.device.start_state["led_b"]) def test_status_without_led_brightness_at_all(self): self.device._reset_state()