mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Spelling fixes (#12041)
* Spelling fixes *Lots* of them. * Spelling breaking changes * Fix lint errors
This commit is contained in:
committed by
Fabian Affolter
parent
38fd9b65bf
commit
8dcfd35b8b
@@ -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