More async tests (#4223)

* Annotate test callbacks to be async

* Convert device_sun_light_trigger to be async
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2016-11-05 16:36:20 -07:00
1 parent 22c3d014aa
commit 62785c2431
21 files changed
+110 -21

No files matched your search

+1
View File
@@ -130,6 +130,7 @@ class TestScriptComponent(unittest.TestCase):
"""Test different ways of passing in variables."""
calls = []
@callback
def record_call(service):
"""Add recorded event to set."""
calls.append(service)