Changeset View
Changeset View
Standalone View
Standalone View
swh/model/tests/swh_model_data.py
Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | Release( | ||||
negative_utc=False, | negative_utc=False, | ||||
), | ), | ||||
author=COMMITTERS[0], | author=COMMITTERS[0], | ||||
target_type=ObjectType.REVISION, | target_type=ObjectType.REVISION, | ||||
target=b"\x04" * 20, | target=b"\x04" * 20, | ||||
message=b"foo", | message=b"foo", | ||||
synthetic=False, | synthetic=False, | ||||
), | ), | ||||
Release( | |||||
id=hash_to_bytes("ee4d20e80af850cc0f417d25dc5073792c5010d2"), | |||||
name=b"this-is-a/tag/1.0", | |||||
date=None, | |||||
author=None, | |||||
target_type=ObjectType.DIRECTORY, | |||||
target=b"\x05" * 20, | |||||
message=b"bar", | |||||
synthetic=False, | |||||
), | |||||
] | ] | ||||
ORIGINS = [ | ORIGINS = [ | ||||
Origin(url="https://somewhere.org/den/fox",), | Origin(url="https://somewhere.org/den/fox",), | ||||
Origin(url="https://overtherainbow.org/fox/den",), | Origin(url="https://overtherainbow.org/fox/den",), | ||||
] | ] | ||||
ORIGIN_VISITS = [ | ORIGIN_VISITS = [ | ||||
▲ Show 20 Lines • Show All 188 Lines • Show Last 20 Lines |