Browse Source

Moebot tests: remove tests for vacuum

Jason Rumney 1 year ago
parent
commit
b7920f68d8
1 changed files with 0 additions and 22 deletions
  1. 0 22
      tests/devices/test_moebot.py

+ 0 - 22
tests/devices/test_moebot.py

@@ -8,7 +8,6 @@ from homeassistant.components.lawn_mower.const import (
     LawnMowerActivity,
     LawnMowerEntityFeature,
 )
-from homeassistant.components.vacuum import VacuumEntityFeature
 
 from ..const import MOEBOT_PAYLOAD
 from ..helpers import assert_device_properties_set
@@ -37,7 +36,6 @@ class TestMoebot(TuyaDeviceTestCase):
 
     def setUp(self):
         self.setUpForConfig("moebot_s_mower.yaml", MOEBOT_PAYLOAD)
-        self.subject = self.entities.get("vacuum")
         self.mower = self.entities.get("lawn_mower")
         self.mark_secondary(
             [
@@ -54,19 +52,6 @@ class TestMoebot(TuyaDeviceTestCase):
         )
 
     def test_supported_features(self):
-        self.assertEqual(
-            self.subject.supported_features,
-            (
-                VacuumEntityFeature.CLEAN_SPOT
-                | VacuumEntityFeature.PAUSE
-                | VacuumEntityFeature.RETURN_HOME
-                | VacuumEntityFeature.SEND_COMMAND
-                | VacuumEntityFeature.START
-                | VacuumEntityFeature.STATE
-                | VacuumEntityFeature.STATUS
-                | VacuumEntityFeature.STOP
-            ),
-        )
         self.assertEqual(
             self.mower.supported_features,
             (
@@ -76,13 +61,6 @@ class TestMoebot(TuyaDeviceTestCase):
             ),
         )
 
-    async def test_async_stop(self):
-        async with assert_device_properties_set(
-            self.subject._device,
-            {COMMAND_DP: "CancelWork"},
-        ):
-            await self.subject.async_stop()
-
     def test_lawnmower_activity(self):
         self.dps[STATUS_DP] = "ERROR"
         self.assertEqual(self.mower.activity, LawnMowerActivity.ERROR)