4
0
Эх сурвалжийг харах

tests(moebot): fix tests broken by 2025.9.0 release

Not detected until the full suite of tests was run on the release tag,
since changes up until then were to yaml only.

This just updates the tests to stay in sync with deliberate changes to
the yaml config for this device.
Jason Rumney 11 сар өмнө
parent
commit
e30126b986

+ 5 - 0
tests/devices/test_moebot.py

@@ -44,6 +44,7 @@ class TestMoebot(TuyaDeviceTestCase):
                 "binary_sensor_problem",
                 "select_mowing_mode",
                 "sensor_problem",
+                "switch.backward_blade_stop",
                 "switch_rain_mode",
                 "number_running_time",
                 "button_clear_schedule",
@@ -63,6 +64,10 @@ class TestMoebot(TuyaDeviceTestCase):
             ),
         )
 
+    def test_available(self):
+        """Skip available tests as this device has disabled entities."""
+        pass
+
     def test_lawnmower_activity(self):
         self.dps[STATUS_DP] = "ERROR"
         self.assertEqual(self.mower.activity, LawnMowerActivity.ERROR)