فهرست منبع

Nashone thermostat: update test

No longer relevant to test hvac_action.

Issue #246
Jason Rumney 3 سال پیش
والد
کامیت
8a95f6fcd4
1فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 6 6
      tests/devices/test_nashone_mts700wb_thermostat.py

+ 6 - 6
tests/devices/test_nashone_mts700wb_thermostat.py

@@ -139,12 +139,12 @@ class TestNashoneMTS700WBThermostat(
         ):
             await self.subject.async_set_hvac_mode(HVACMode.OFF)
 
-    def test_hvac_action(self):
-        self.dps[HVACMODE_DPS] = "hot"
-        self.dps[HVACACTION_DPS] = "manual"
-        self.assertEqual(self.subject.hvac_action, HVACAction.HEATING)
-        self.dps[HVACMODE_DPS] = "cold"
-        self.assertEqual(self.subject.hvac_action, HVACAction.COOLING)
+    # def test_hvac_action(self):
+    #     self.dps[HVACMODE_DPS] = "hot"
+    #     self.dps[HVACACTION_DPS] = "manual"
+    #     self.assertEqual(self.subject.hvac_action, HVACAction.HEATING)
+    #     self.dps[HVACMODE_DPS] = "cold"
+    #     self.assertEqual(self.subject.hvac_action, HVACAction.COOLING)
 
     def test_extra_state_attributes(self):
         self.assertEqual(self.subject.extra_state_attributes, {})