Skip to content

Commit

Permalink
ALL must be uppercase (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 authored Dec 20, 2024
1 parent f5bd4b0 commit 3d8a26e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aiohasupervisor/models/backups.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Folder(StrEnum):
class AddonSet(StrEnum):
"""AddonSet type."""

ALL = "all"
ALL = "ALL"


# --- OBJECTS ----
Expand Down
2 changes: 1 addition & 1 deletion tests/test_backups.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ async def test_download_backup(
{"name": "Test", "folders": ["share"]},
),
(PartialBackupOptions(addons={"core_ssh"}), {"addons": ["core_ssh"]}),
(PartialBackupOptions(addons=AddonSet.ALL), {"addons": "all"}),
(PartialBackupOptions(addons=AddonSet.ALL), {"addons": "ALL"}),
(
PartialBackupOptions(
homeassistant=True, homeassistant_exclude_database=True
Expand Down

0 comments on commit 3d8a26e

Please sign in to comment.