mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-19 10:47:15 +00:00
Improve comment
This commit is contained in:
parent
f39f95477f
commit
b3a94a487f
@ -1036,8 +1036,9 @@ async def test_protected_backup(
|
||||
assert body["data"]["backups"][0]["locations"] == [None]
|
||||
assert body["data"]["backups"][0]["protected"] is True
|
||||
|
||||
# NOTE: Maybe it is not safe to compare size here, as random data in the
|
||||
# backup might change the size (due to gzip).
|
||||
# NOTE: It might not be safe to check size here, as random data in the
|
||||
# backup (e.g. isntance UUID, backup slug) might change the size (due
|
||||
# to gzip).
|
||||
assert body["data"]["backups"][0]["location_attributes"] == {
|
||||
".local": {
|
||||
"protected": True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user