Skip to content

Commit

Permalink
Fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Jan 31, 2025
1 parent 2348aef commit e36b7ca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/api/test_backups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1049,10 +1049,8 @@ async def test_protected_backup(
assert body["data"]["location"] is None
assert body["data"]["locations"] == [None]
assert body["data"]["protected"] is True
assert (
body["data"]["backups"][0]["location_attributes"][".local"]["protected"] is True
)
assert body["data"]["backups"][0]["location_attributes"][".local"]["size_bytes"] > 0
assert body["data"]["location_attributes"][".local"]["protected"] is True
assert body["data"]["location_attributes"][".local"]["size_bytes"] > 0


@pytest.mark.usefixtures(
Expand Down

0 comments on commit e36b7ca

Please sign in to comment.