Skip to content
Snippets Groups Projects
Commit e31bdb26 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Set object id when calling objstorage.add

We are removing support for the objstorage computing the object id itself.
parent 5916d8b5
No related branches found
No related tags found
No related merge requests found
......@@ -327,7 +327,7 @@ def test_export_content_with_data(monkeypatch, tmpdir):
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":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment