Переглянути джерело

Update rgbcw_lightbulb tests for additional entity.

Tests for the select entity are not implemented, as the mapping is using
long hex strings that might be subject to change in future.
Jason Rumney 3 роки тому
батько
коміт
327407ce98
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      tests/devices/test_rgbcw_lightbulb.py

+ 1 - 1
tests/devices/test_rgbcw_lightbulb.py

@@ -34,7 +34,7 @@ class TestRGBCWLightbulb(BasicNumberTests, TuyaDeviceTestCase):
             unit=UnitOfTime.MINUTES,
             unit=UnitOfTime.MINUTES,
             scale=60,
             scale=60,
         )
         )
-        self.mark_secondary(["number_timer"])
+        self.mark_secondary(["number_timer", "select_scene"])
 
 
     def test_is_on(self):
     def test_is_on(self):
         self.dps[SWITCH_DPS] = True
         self.dps[SWITCH_DPS] = True