]> Cypherpunks repositories - keks.git/commitdiff
Reduce junk volume
authorSergey Matveev <stargrave@stargrave.org>
Sat, 30 Nov 2024 16:09:10 +0000 (19:09 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 30 Nov 2024 19:38:56 +0000 (22:38 +0300)
Just to reduce testing time. Anyway even several bytes of added data is
enough for testing purposes.

pyac/tests/strategies.py

index 72fa859076084fb7f2bf61944a2faa11f12275d8ba05e26018a203b66c8fcf19..2f0aa644b3426a68b66d9075ba8f366c051b63fa8b575f689dc436d249e84f91 100644 (file)
@@ -13,7 +13,7 @@ from hypothesis.strategies import uuids
 from pyac import Blob
 
 
-junk_st = binary(max_size=20)
+junk_st = binary(max_size=8)
 blobs_st = tuples(integers(1, 20), binary(max_size=60)).map(lambda x: Blob(*x))
 unicode_allowed = characters(exclude_characters="\x00", exclude_categories=("Cs",))
 text_st = text(alphabet=unicode_allowed, max_size=32)