Clean up tests (#4209)

This commit is contained in:
Paulus Schoutsen 2016-11-03 21:58:18 -07:00 committed by GitHub
parent 6f68752d1e
commit e88b98f5fa
11 changed files with 42 additions and 5 deletions

View file

@ -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)