Clean up tests (#4209)

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

No files matched your search

+2
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)