Skip to content
Snippets Groups Projects
Commit 340656dd authored by David Douard's avatar David Douard
Browse files

Fix origin_visit hypothesis strategies

the visit attribute is expected to be strictly positive.
parent a95646fc
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ def origins():
def origin_visits_d():
return builds(
dict,
visit=integers(0, 1000),
visit=integers(1, 1000),
origin=urls(),
date=aware_datetimes(),
status=sampled_from(["ongoing", "full", "partial"]),
......@@ -174,7 +174,7 @@ def metadata_dicts():
def origin_visit_statuses_d():
return builds(
dict,
visit=integers(0, 1000),
visit=integers(1, 1000),
origin=urls(),
status=sampled_from(["ongoing", "full", "partial"]),
date=aware_datetimes(),
......
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