diff --git a/requirements-swh.txt b/requirements-swh.txt --- a/requirements-swh.txt +++ b/requirements-swh.txt @@ -1,3 +1,3 @@ swh.core[db,http] >= 0.0.94 -swh.model >= 0.0.51 +swh.model >= 0.0.61 swh.objstorage >= 0.0.40 diff --git a/swh/storage/tests/test_storage.py b/swh/storage/tests/test_storage.py --- a/swh/storage/tests/test_storage.py +++ b/swh/storage/tests/test_storage.py @@ -1357,10 +1357,6 @@ assert add1 == add2 - def test_origin_add_validation(self, swh_storage): - with pytest.raises(StorageArgumentException, match='url'): - swh_storage.origin_add([{'type': 'git'}]) - def test_origin_get_legacy(self, swh_storage): assert swh_storage.origin_get(data.origin) is None swh_storage.origin_add_one(data.origin)