diff --git a/swh/model/hypothesis_strategies.py b/swh/model/hypothesis_strategies.py --- a/swh/model/hypothesis_strategies.py +++ b/swh/model/hypothesis_strategies.py @@ -75,7 +75,6 @@ def origins(): return builds( Origin, - type=sampled_from(['git', 'hg', 'svn', 'pypi', 'deb']), url=urls()) diff --git a/swh/model/model.py b/swh/model/model.py --- a/swh/model/model.py +++ b/swh/model/model.py @@ -194,12 +194,6 @@ class Origin(BaseModel): """Represents a software source: a VCS and an URL.""" url = attr.ib(type=str) - type = attr.ib(type=Optional[str], default=None) - - def to_dict(self): - r = super().to_dict() - r.pop('type', None) - return r @attr.s(frozen=True)