mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Add the ability to process integration platforms on demand (#70174)
This commit is contained in:
@@ -35,3 +35,9 @@ async def test_process_integration_platforms(hass):
|
||||
assert len(processed) == 2
|
||||
assert processed[1][0] == "event"
|
||||
assert processed[1][1] == event_platform
|
||||
|
||||
# Verify we only process the platform once if we call it manually
|
||||
await hass.helpers.integration_platform.async_process_integration_platform(
|
||||
hass, "event"
|
||||
)
|
||||
assert len(processed) == 2
|
||||
|
||||
Reference in New Issue
Block a user