浏览代码

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 7 月之前
父节点
当前提交
e30126b986
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      tests/devices/test_moebot.py

+ 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)