From 956c33131a67f53f64df60db87eed2cbbb28a98b Mon Sep 17 00:00:00 2001 From: uriii3 Date: Mon, 3 Feb 2025 11:52:09 +0100 Subject: [PATCH] half of the size is too much --- tests/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_utils.py b/tests/test_utils.py index e75a1c68..9f998a0d 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -49,7 +49,7 @@ def main_checks_when_file_is_downloaded( file_path: pathlib.Path, response: dict, ): - size_variance = 0.4 + size_variance = 0.5 file_size = os.path.getsize(file_path) assert file_size / 1048e3 <= response["file_size"] * (1 + size_variance) assert file_size / 1048e3 >= response["file_size"] * (1 - size_variance)