mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-20 15:46:29 +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]["locations"] == [None]
|
||||||
assert body["data"]["backups"][0]["protected"] is True
|
assert body["data"]["backups"][0]["protected"] is True
|
||||||
|
|
||||||
# NOTE: Maybe it is not safe to compare size here, as random data in the
|
# NOTE: It might not be safe to check size here, as random data in the
|
||||||
# backup might change the size (due to gzip).
|
# backup (e.g. isntance UUID, backup slug) might change the size (due
|
||||||
|
# to gzip).
|
||||||
assert body["data"]["backups"][0]["location_attributes"] == {
|
assert body["data"]["backups"][0]["location_attributes"] == {
|
||||||
".local": {
|
".local": {
|
||||||
"protected": True,
|
"protected": True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user