Explorar o código

Arlec fan with light: adjust test based on color_temp being rounded

Jason Rumney %!s(int64=4) %!d(string=hai) anos
pai
achega
ad36e1b59b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/devices/test_arlec_fan_light.py

+ 1 - 1
tests/devices/test_arlec_fan_light.py

@@ -137,7 +137,7 @@ class TestArlecFan(SwitchableTests, BasicSelectTests, TuyaDeviceTestCase):
 
     def test_light_color_temp(self):
         self.dps[COLORTEMP_DPS] = 70
-        self.assertEqual(self.light.color_temp, 395.9)
+        self.assertEqual(self.light.color_temp, 396)
 
     async def test_light_async_turn_on(self):
         async with assert_device_properties_set(