Clean up tests (#4209)
This commit is contained in:
1 parent
6f68752d1e
commit
e88b98f5fa
11 files changed
+42
-5
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user