From b3a94a487ff927c49398d5089462e6e1fab430bc Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 31 Jan 2025 09:54:20 +0000 Subject: [PATCH] Improve comment --- tests/api/test_backups.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/api/test_backups.py b/tests/api/test_backups.py index c7d524b45..49e803735 100644 --- a/tests/api/test_backups.py +++ b/tests/api/test_backups.py @@ -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,