mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Stub finding custom integrations in tests (#43692)
This commit is contained in:
@@ -537,3 +537,9 @@ def legacy_patchable_time():
|
||||
async_track_utc_time_change,
|
||||
):
|
||||
yield
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def enable_custom_integrations(hass):
|
||||
"""Enable custom integrations defined in the test dir."""
|
||||
hass.data.pop(loader.DATA_CUSTOM_COMPONENTS)
|
||||
|
||||
Reference in New Issue
Block a user