Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/test_pytest_plugin.py
Show All 28 Lines | assert set(sample_data.keys()) == set( | ||||
] | ] | ||||
) | ) | ||||
for object_type, objs in sample_data.items(): | for object_type, objs in sample_data.items(): | ||||
if object_type in [ | if object_type in [ | ||||
"content", | "content", | ||||
"skipped_content", | "skipped_content", | ||||
"directory", | "directory", | ||||
"revision", | "revision", | ||||
"origin", | |||||
"fetcher", | "fetcher", | ||||
"authority", | "authority", | ||||
"origin_metadata", | "origin_metadata", | ||||
"content_metadata", | "content_metadata", | ||||
]: | ]: | ||||
type_ = BaseModel | type_ = BaseModel | ||||
else: | else: | ||||
type_ = dict | type_ = dict | ||||
Show All 38 Lines |