mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-26 18:06:17 +01:00
* Add onboarding support * Lint * Address comments * Mark user step as done if owner user already created
12 lines
289 B
Python
12 lines
289 B
Python
"""Tests for the onboarding component."""
|
|
|
|
from homeassistant.components import onboarding
|
|
|
|
|
|
def mock_storage(hass_storage, data):
|
|
"""Mock the onboarding storage."""
|
|
hass_storage[onboarding.STORAGE_KEY] = {
|
|
'version': onboarding.STORAGE_VERSION,
|
|
'data': data
|
|
}
|