mirror of
https://github.com/home-assistant/core.git
synced 2025-05-07 07:29:17 +00: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
|
|
}
|