1 parent
744c277123
commit
1e5596b594
10 files changed
+51
-58
No files matched your search
@@ -320,7 +320,7 @@ class TestHoneywellRound(unittest.TestCase):
|
||||
self.device.set_temperature.call_args, mock.call('House', 25)
|
||||
)
|
||||
|
||||
def test_set_operation_mode(self: unittest.TestCase) -> None:
|
||||
def test_set_operation_mode(self) -> None:
|
||||
"""Test setting the system operation."""
|
||||
self.round1.set_operation_mode('cool')
|
||||
self.assertEqual('cool', self.round1.current_operation)
|
||||
@@ -384,7 +384,7 @@ class TestHoneywellUS(unittest.TestCase):
|
||||
self.assertEqual(74, self.device.setpoint_cool)
|
||||
self.assertEqual(74, self.honeywell.target_temperature)
|
||||
|
||||
def test_set_operation_mode(self: unittest.TestCase) -> None:
|
||||
def test_set_operation_mode(self) -> None:
|
||||
"""Test setting the operation mode."""
|
||||
self.honeywell.set_operation_mode('cool')
|
||||
self.assertEqual('cool', self.device.system_mode)
|
||||
|
||||
Reference in new issue
Block a user