Skip to content

Commit 3d8a26e

Browse files
authored
ALL must be uppercase (#39)
1 parent f5bd4b0 commit 3d8a26e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aiohasupervisor/models/backups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Folder(StrEnum):
2929
class AddonSet(StrEnum):
3030
"""AddonSet type."""
3131

32-
ALL = "all"
32+
ALL = "ALL"
3333

3434

3535
# --- OBJECTS ----

tests/test_backups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ async def test_download_backup(
493493
{"name": "Test", "folders": ["share"]},
494494
),
495495
(PartialBackupOptions(addons={"core_ssh"}), {"addons": ["core_ssh"]}),
496-
(PartialBackupOptions(addons=AddonSet.ALL), {"addons": "all"}),
496+
(PartialBackupOptions(addons=AddonSet.ALL), {"addons": "ALL"}),
497497
(
498498
PartialBackupOptions(
499499
homeassistant=True, homeassistant_exclude_database=True

0 commit comments

Comments
 (0)