Skip to content
Snippets Groups Projects
Commit 54490c98 authored by vlorentz's avatar vlorentz
Browse files

Limit Content.length to what the pgsql storage supports.

parent f9641d28
No related branches found
Tags v0.0.34
1 merge request!28Limit Content.length to what the pgsql storage supports.
......@@ -129,7 +129,7 @@ def contents(draw):
return draw(builds(
Content,
length=integers(0),
length=integers(min_value=0, max_value=2**63-1),
sha1=sha1(),
sha1_git=sha1_git(),
sha256=binary(min_size=32, max_size=32),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment