diff --git a/swh/dataset/test/test_orc.py b/swh/dataset/test/test_orc.py --- a/swh/dataset/test/test_orc.py +++ b/swh/dataset/test/test_orc.py @@ -327,7 +327,7 @@ obj_type = "content" objstorage = get_objstorage("memory") for content in TEST_OBJECTS[obj_type]: - objstorage.add(content.data) + objstorage.add(content=content.data, obj_id=content.sha1) def get_objstorage_mock(**kw): if kw.get("cls") == "mock":