Clean up tests (#4209)
This commit is contained in:
parent
6f68752d1e
commit
e88b98f5fa
11 changed files with 42 additions and 5 deletions
|
@ -39,6 +39,7 @@ class TestComponentLogbook(unittest.TestCase):
|
|||
"""Test if service call create log book entry."""
|
||||
calls = []
|
||||
|
||||
@ha.callback
|
||||
def event_listener(event):
|
||||
calls.append(event)
|
||||
|
||||
|
@ -69,6 +70,7 @@ class TestComponentLogbook(unittest.TestCase):
|
|||
"""Test if service call create log book entry without message."""
|
||||
calls = []
|
||||
|
||||
@ha.callback
|
||||
def event_listener(event):
|
||||
calls.append(event)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue