Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/storage_data.py
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | cont3 = { | ||||
"sha1_git": hash_to_bytes("c932c7649c6dfa4b82327d121215116909eb3bea"), | "sha1_git": hash_to_bytes("c932c7649c6dfa4b82327d121215116909eb3bea"), | ||||
"sha256": hash_to_bytes( | "sha256": hash_to_bytes( | ||||
"92fb72daf8c6818288a35137b72155f507e5de8d892712ab96277aaed8cf8a36" | "92fb72daf8c6818288a35137b72155f507e5de8d892712ab96277aaed8cf8a36" | ||||
), | ), | ||||
"blake2s256": hash_to_bytes( | "blake2s256": hash_to_bytes( | ||||
"76d0346f44e5a27f6bafdd9c2befd304aff83780f93121d801ab6a1d4769db11" | "76d0346f44e5a27f6bafdd9c2befd304aff83780f93121d801ab6a1d4769db11" | ||||
), | ), | ||||
"status": "visible", | "status": "visible", | ||||
"ctime": "2019-12-01", | "ctime": "2019-12-01 00:00:00Z", | ||||
} | } | ||||
contents = (cont, cont2, cont3) | contents = (cont, cont2, cont3) | ||||
missing_cont = { | missing_cont = { | ||||
"data": b"missing\n", | "data": b"missing\n", | ||||
"length": 8, | "length": 8, | ||||
▲ Show 20 Lines • Show All 408 Lines • Show Last 20 Lines |