Fix up docstring for tests (#5090)

This commit is contained in:
Johann Kellerman authored and GitHub committed 2016-12-28 20:04:59 +02:00
1 parent 98efbbc129
commit f0b1874d2d
19 files changed
+61 -59

No files matched your search

@@ -182,9 +182,7 @@ class TestClimateGenericThermostat(unittest.TestCase):
self.assertEqual(ENT_SWITCH, call.data['entity_id'])
def test_temp_change_heater_on_within_tolerance(self):
"""Test if temperature change doesn't turn heater on within
tolerance.
"""
"""Test if temperature change doesn't turn on within tolerance."""
self._setup_switch(False)
climate.set_temperature(self.hass, 30)
self.hass.block_till_done()
@@ -206,9 +204,7 @@ class TestClimateGenericThermostat(unittest.TestCase):
self.assertEqual(ENT_SWITCH, call.data['entity_id'])
def test_temp_change_heater_off_within_tolerance(self):
"""Test if temperature change doesn't turn heater off within
tolerance.
"""
"""Test if temperature change doesn't turn off within tolerance."""
self._setup_switch(True)
climate.set_temperature(self.hass, 30)
self.hass.block_till_done()
@@ -296,9 +292,7 @@ class TestClimateGenericThermostatACMode(unittest.TestCase):
self.assertEqual(ENT_SWITCH, call.data['entity_id'])
def test_temp_change_ac_off_within_tolerance(self):
"""Test if temperature change doesn't turn ac off within
tolerance.
"""
"""Test if temperature change doesn't turn ac off within tolerance."""
self._setup_switch(True)
climate.set_temperature(self.hass, 30)
self.hass.block_till_done()
@@ -320,9 +314,7 @@ class TestClimateGenericThermostatACMode(unittest.TestCase):
self.assertEqual(ENT_SWITCH, call.data['entity_id'])
def test_temp_change_ac_on_within_tolerance(self):
"""Test if temperature change doesn't turn ac on within
tolerance.
"""
"""Test if temperature change doesn't turn ac on within tolerance."""
self._setup_switch(False)
climate.set_temperature(self.hass, 25)
self.hass.block_till_done()