From cb075eb351a094da445f608a96867556c6783a0f Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Thu, 27 Feb 2020 18:02:22 +0100 Subject: [PATCH] model.hypothesis: use the proper strategy name for building `Person`s --- swh/model/hypothesis_strategies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swh/model/hypothesis_strategies.py b/swh/model/hypothesis_strategies.py index 163716b9..a5dd4f11 100644 --- a/swh/model/hypothesis_strategies.py +++ b/swh/model/hypothesis_strategies.py @@ -51,7 +51,7 @@ def urls(draw): def persons(): - return builds(Person, email=optional(bytes), name=optional(bytes)) + return builds(Person, email=optional(binary()), name=optional(binary())) def timestamps(): -- GitLab