Skip to content

Commit

Permalink
half of the size is too much
Browse files Browse the repository at this point in the history
  • Loading branch information
uriii3 committed Feb 3, 2025
1 parent 092d9f8 commit 956c331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 956c331

Please sign in to comment.