Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery committed Dec 4, 2024
1 parent a9f238f commit 68c4729
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/components/cloud/test_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ async def test_agents_upload_not_protected(
size=0.0,
)
with (
patch("pathlib.Path.open"),
patch(
"homeassistant.components.backup.manager.read_backup",
return_value=test_backup,
Expand Down
1 change: 1 addition & 0 deletions tests/components/kitchen_sink/test_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ async def test_agents_upload(
)

with (
patch("pathlib.Path.open"),
patch(
"homeassistant.components.backup.manager.BackupManager.async_get_backup",
) as fetch_backup,
Expand Down

0 comments on commit 68c4729

Please sign in to comment.