mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Adjust backup agent platform (#132944)
* Adjust backup agent platform * Adjust according to discussion * Clean up the local agent dict too * Add test * Update kitchen_sink * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Adjust tests * Clean up * Fix kitchen sink reload --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -57,6 +57,8 @@ TEST_DOMAIN = "test"
|
||||
class BackupAgentTest(BackupAgent):
|
||||
"""Test backup agent."""
|
||||
|
||||
domain = "test"
|
||||
|
||||
def __init__(self, name: str, backups: list[AgentBackup] | None = None) -> None:
|
||||
"""Initialize the backup agent."""
|
||||
self.name = name
|
||||
|
||||
Reference in New Issue
Block a user