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
@@ -28,7 +28,7 @@ class TestServiceHelpers(unittest.TestCase):
|
||||
self.hass.stop()
|
||||
|
||||
def test_template_service_call(self):
|
||||
"""Test service call with tempating."""
|
||||
"""Test service call with templating."""
|
||||
config = {
|
||||
'service_template': '{{ \'test_domain.test_service\' }}',
|
||||
'entity_id': 'hello.world',
|
||||
@@ -102,7 +102,7 @@ class TestServiceHelpers(unittest.TestCase):
|
||||
|
||||
@patch('homeassistant.helpers.service._LOGGER.error')
|
||||
def test_fail_silently_if_no_service(self, mock_log):
|
||||
"""Test failling if service is missing."""
|
||||
"""Test failing if service is missing."""
|
||||
service.call_from_config(self.hass, None)
|
||||
self.assertEqual(1, mock_log.call_count)
|
||||
|
||||
|
||||
Reference in new issue
Block a user