From f12c216de3b2f5d7925e97f9c1673e8d8124e58d Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Wed, 6 May 2020 08:20:50 -0400 Subject: [PATCH] Avoid creating super-large files in these other tests They're not primarily about super-largeness and super-large files prevent them from working on Windows. --- src/_zkapauthorizer/tests/test_storage_protocol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_zkapauthorizer/tests/test_storage_protocol.py b/src/_zkapauthorizer/tests/test_storage_protocol.py index bfaf5fe..a267c06 100644 --- a/src/_zkapauthorizer/tests/test_storage_protocol.py +++ b/src/_zkapauthorizer/tests/test_storage_protocol.py @@ -436,7 +436,7 @@ class ShareTests(TestCase): @given( storage_index=storage_indexes(), sharenum=sharenums(), - size=sizes(min_value=2 ** 18, max_value=2 ** 40), + size=sizes(), clock=clocks(), leases=lists(lease_renew_secrets(), unique=True, min_size=1), version=share_versions(), @@ -480,7 +480,7 @@ class ShareTests(TestCase): @given( storage_index=storage_indexes(), sharenum=sharenums(), - size=sizes(min_value=2 ** 18, max_value=2 ** 40), + size=sizes(), clock=clocks(), version=share_versions(), # Encode our knowledge of the share header format and size right here... -- GitLab