From ba0c4e19e6b01f0c9585832f7fe430975f48ab8c Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org> Date: Tue, 16 Jun 2020 19:10:53 +0200 Subject: [PATCH] model.hypothesis_strategies: Make metadata always none on origin_visit This is not used. This is broken storage wise (origin-visit-add does not deal correctly with it and it so happens there is no test around it). And finally, this will soon go away with T2310. --- swh/model/hypothesis_strategies.py | 1 + 1 file changed, 1 insertion(+) diff --git a/swh/model/hypothesis_strategies.py b/swh/model/hypothesis_strategies.py index 3e8198bd..1116f747 100644 --- a/swh/model/hypothesis_strategies.py +++ b/swh/model/hypothesis_strategies.py @@ -160,6 +160,7 @@ def origin_visits_d(): status=sampled_from(["ongoing", "full", "partial"]), type=pgsql_text(), snapshot=optional(sha1_git()), + metadata=none(), ) -- GitLab