fix tests

This commit is contained in:
Pascal Vizeli
2017-06-15 01:28:33 +02:00
parent 0d3ad3c1d6
commit 08eee4b5e5

View File

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