mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Remove usage of deprecated assert method (#12379)
This commit is contained in:
parent
429628ec1d
commit
c7416c8986
@ -202,7 +202,7 @@ class TestMelissa(unittest.TestCase):
|
|||||||
self.thermostat._cur_settings = None
|
self.thermostat._cur_settings = None
|
||||||
self.assertFalse(self.thermostat.send({
|
self.assertFalse(self.thermostat.send({
|
||||||
'fan': self.api.FAN_LOW}))
|
'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)
|
self.assertIsNone(self.thermostat._cur_settings)
|
||||||
|
|
||||||
@mock.patch('homeassistant.components.climate.melissa._LOGGER.warning')
|
@mock.patch('homeassistant.components.climate.melissa._LOGGER.warning')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user