From 08eee4b5e559b880a216236043eb962e2f10bcaa Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 15 Jun 2017 01:28:33 +0200 Subject: [PATCH] fix tests --- tests/components/device_tracker/test_init.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/components/device_tracker/test_init.py b/tests/components/device_tracker/test_init.py index cd4ea0f686f..b7cf33c4213 100644 --- a/tests/components/device_tracker/test_init.py +++ b/tests/components/device_tracker/test_init.py @@ -429,6 +429,7 @@ class TestComponentsDeviceTracker(unittest.TestCase): with assert_setup_component(1, device_tracker.DOMAIN): assert setup_component(self.hass, device_tracker.DOMAIN, TEST_PLATFORM) + self.hass.block_till_done() state = self.hass.states.get(device_tracker.ENTITY_ID_ALL_DEVICES) self.assertIsNotNone(state)