Spelling fixes (#12041)
* Spelling fixes *Lots* of them. * Spelling breaking changes * Fix lint errors
This commit is contained in:
1 parent
38fd9b65bf
commit
8dcfd35b8b
138 files changed
+285
-286
No files matched your search
@@ -736,7 +736,7 @@ class TestAutomationNumericState(unittest.TestCase):
|
||||
self.hass.block_till_done()
|
||||
self.assertEqual(0, len(self.calls))
|
||||
|
||||
def test_if_not_fires_on_entities_change_with_for_afte_stop(self):
|
||||
def test_if_not_fires_on_entities_change_with_for_after_stop(self):
|
||||
"""Test for not firing on entities change with for after stop."""
|
||||
assert setup_component(self.hass, automation.DOMAIN, {
|
||||
automation.DOMAIN: {
|
||||
|
||||
@@ -198,7 +198,7 @@ class TestAutomationState(unittest.TestCase):
|
||||
automation.DOMAIN: {
|
||||
'trigger': {
|
||||
'platform': 'state',
|
||||
'entity_id': 'test.anoter_entity',
|
||||
'entity_id': 'test.another_entity',
|
||||
},
|
||||
'action': {
|
||||
'service': 'test.automation'
|
||||
@@ -468,7 +468,7 @@ class TestAutomationState(unittest.TestCase):
|
||||
self.assertEqual(1, len(self.calls))
|
||||
|
||||
def test_if_fires_on_for_condition(self):
|
||||
"""Test for firing if contition is on."""
|
||||
"""Test for firing if condition is on."""
|
||||
point1 = dt_util.utcnow()
|
||||
point2 = point1 + timedelta(seconds=10)
|
||||
with patch('homeassistant.core.dt_util.utcnow') as mock_utcnow:
|
||||
@@ -504,7 +504,7 @@ class TestAutomationState(unittest.TestCase):
|
||||
self.assertEqual(1, len(self.calls))
|
||||
|
||||
def test_if_fires_on_for_condition_attribute_change(self):
|
||||
"""Test for firing if contition is on with attribute change."""
|
||||
"""Test for firing if condition is on with attribute change."""
|
||||
point1 = dt_util.utcnow()
|
||||
point2 = point1 + timedelta(seconds=4)
|
||||
point3 = point1 + timedelta(seconds=8)
|
||||
|
||||
@@ -127,7 +127,7 @@ class TestAutomationSun(unittest.TestCase):
|
||||
self.assertEqual('sun - sunset - 0:30:00', self.calls[0].data['some'])
|
||||
|
||||
def test_sunrise_trigger_with_offset(self):
|
||||
"""Test the runrise trigger with offset."""
|
||||
"""Test the sunrise trigger with offset."""
|
||||
now = datetime(2015, 9, 13, 23, tzinfo=dt_util.UTC)
|
||||
trigger_time = datetime(2015, 9, 16, 13, 30, tzinfo=dt_util.UTC)
|
||||
|
||||
|
||||
Reference in new issue
Block a user