mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 04:05:06 +02:00
Remove usage of deprecated assert method (#12379)
This commit is contained in:
committed by
Fabian Affolter
parent
429628ec1d
commit
c7416c8986
@@ -202,7 +202,7 @@ class TestMelissa(unittest.TestCase):
|
||||
self.thermostat._cur_settings = None
|
||||
self.assertFalse(self.thermostat.send({
|
||||
'fan': self.api.FAN_LOW}))
|
||||
self.assertNotEquals(SPEED_LOW, self.thermostat.current_fan_mode)
|
||||
self.assertNotEqual(SPEED_LOW, self.thermostat.current_fan_mode)
|
||||
self.assertIsNone(self.thermostat._cur_settings)
|
||||
|
||||
@mock.patch('homeassistant.components.climate.melissa._LOGGER.warning')
|
||||
|
Reference in New Issue
Block a user