Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/conftest.py
Show All 18 Lines | from swh.model.model import ( | ||||
Directory, | Directory, | ||||
Origin, | Origin, | ||||
OriginVisit, | OriginVisit, | ||||
Release, | Release, | ||||
Revision, | Revision, | ||||
SkippedContent, | SkippedContent, | ||||
Snapshot, | Snapshot, | ||||
) | ) | ||||
from swh.storage.pytest_plugin import * # noqa # for retro compatibility | |||||
OBJECT_FACTORY = { | OBJECT_FACTORY = { | ||||
"content": Content.from_dict, | "content": Content.from_dict, | ||||
"directory": Directory.from_dict, | "directory": Directory.from_dict, | ||||
"origin": Origin.from_dict, | "origin": Origin.from_dict, | ||||
"origin_visit": OriginVisit.from_dict, | "origin_visit": OriginVisit.from_dict, | ||||
"release": Release.from_dict, | "release": Release.from_dict, | ||||
Show All 40 Lines |