Spelling, grammar etc fixes (#14432)
* Spelling, grammar etc fixes * s/an api data/data of an api/
This commit is contained in:
parent
843789528e
commit
234bf1f0ea
15 changed files with 20 additions and 20 deletions
|
@ -375,7 +375,7 @@ class TestEventBus(unittest.TestCase):
|
|||
self.assertEqual(1, len(runs))
|
||||
|
||||
def test_thread_event_listener(self):
|
||||
"""Test a event listener listeners."""
|
||||
"""Test thread event listener."""
|
||||
thread_calls = []
|
||||
|
||||
def thread_listener(event):
|
||||
|
@ -387,7 +387,7 @@ class TestEventBus(unittest.TestCase):
|
|||
assert len(thread_calls) == 1
|
||||
|
||||
def test_callback_event_listener(self):
|
||||
"""Test a event listener listeners."""
|
||||
"""Test callback event listener."""
|
||||
callback_calls = []
|
||||
|
||||
@ha.callback
|
||||
|
@ -400,7 +400,7 @@ class TestEventBus(unittest.TestCase):
|
|||
assert len(callback_calls) == 1
|
||||
|
||||
def test_coroutine_event_listener(self):
|
||||
"""Test a event listener listeners."""
|
||||
"""Test coroutine event listener."""
|
||||
coroutine_calls = []
|
||||
|
||||
@asyncio.coroutine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue