Skip to content

Commit

Permalink
Add block after setting up component (#18756)
Browse files Browse the repository at this point in the history
Added a block_till_done after setting up component and before starting HASS.
  • Loading branch information
ehendrix23 authored and balloob committed Nov 28, 2018
1 parent 623cec2 commit 0bdf96d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/components/sensor/test_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ def mock_purge(self):
'max_age': {'hours': max_age}
}
})
self.hass.block_till_done()

self.hass.start()
self.hass.block_till_done()
Expand Down

0 comments on commit 0bdf96d

Please sign in to comment.