init home-assistant
This commit is contained in:
11
home-assistant/tests/components/backup/test_models.py
Normal file
11
home-assistant/tests/components/backup/test_models.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""Tests for the Backup integration."""
|
||||
|
||||
from homeassistant.components.backup import AgentBackup
|
||||
|
||||
from .common import TEST_BACKUP_ABC123
|
||||
|
||||
|
||||
async def test_agent_backup_serialization() -> None:
|
||||
"""Test AgentBackup serialization."""
|
||||
|
||||
assert AgentBackup.from_dict(TEST_BACKUP_ABC123.as_dict()) == TEST_BACKUP_ABC123
|
||||
Reference in New Issue
Block a user