Changeset View
Changeset View
Standalone View
Standalone View
swh/model/tests/swh_model_data.py
Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | TimestampWithTimezone( | ||||
timestamp=Timestamp(seconds=1234567892, microseconds=0,), | timestamp=Timestamp(seconds=1234567892, microseconds=0,), | ||||
offset=120, | offset=120, | ||||
negative_utc=False, | negative_utc=False, | ||||
), | ), | ||||
] | ] | ||||
REVISIONS = [ | REVISIONS = [ | ||||
Revision( | Revision( | ||||
id=hash_to_bytes("4ca486e65eb68e4986aeef8227d2db1d56ce51b3"), | id=hash_to_bytes("66c7c1cd9673275037140f2abff7b7b11fc9439c"), | ||||
message=b"hello", | message=b"hello", | ||||
date=DATES[0], | date=DATES[0], | ||||
committer=COMMITTERS[0], | committer=COMMITTERS[0], | ||||
author=COMMITTERS[0], | author=COMMITTERS[0], | ||||
committer_date=DATES[0], | committer_date=DATES[0], | ||||
type=RevisionType.GIT, | type=RevisionType.GIT, | ||||
directory=b"\x01" * 20, | directory=b"\x01" * 20, | ||||
synthetic=False, | synthetic=False, | ||||
metadata=None, | metadata=None, | ||||
parents=(), | parents=( | ||||
hash_to_bytes("9b918dd063cec85c2bc63cc7f167e29f5894dcbc"), | |||||
hash_to_bytes("757f38bdcd8473aaa12df55357f5e2f1a318e672"), | |||||
), | |||||
), | ), | ||||
Revision( | Revision( | ||||
id=hash_to_bytes("677063f5c405d6fc1781fc56379c9a9adf43d3a0"), | id=hash_to_bytes("677063f5c405d6fc1781fc56379c9a9adf43d3a0"), | ||||
message=b"hello again", | message=b"hello again", | ||||
date=DATES[1], | date=DATES[1], | ||||
committer=COMMITTERS[1], | committer=COMMITTERS[1], | ||||
author=COMMITTERS[1], | author=COMMITTERS[1], | ||||
committer_date=DATES[1], | committer_date=DATES[1], | ||||
▲ Show 20 Lines • Show All 235 Lines • Show Last 20 Lines |