forked from home-assistant/core
Do async_setup_platform in background (#36244)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -18,6 +18,7 @@ class TestWorldClockSensor(unittest.TestCase):
|
||||
config = {"sensor": {"platform": "worldclock", "time_zone": "America/New_York"}}
|
||||
|
||||
assert setup_component(self.hass, "sensor", config)
|
||||
self.hass.block_till_done()
|
||||
|
||||
def tearDown(self):
|
||||
"""Stop everything that was started."""
|
||||
|
||||
Reference in New Issue
Block a user