Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/storage_data.py
Show First 20 Lines • Show All 362 Lines • ▼ Show 20 Lines | metadata_tool = { | ||||
'version': '0.0.1', | 'version': '0.0.1', | ||||
'configuration': { | 'configuration': { | ||||
'sword_version': '2' | 'sword_version': '2' | ||||
} | } | ||||
} | } | ||||
date_visit1 = datetime.datetime(2015, 1, 1, 23, 0, 0, | date_visit1 = datetime.datetime(2015, 1, 1, 23, 0, 0, | ||||
tzinfo=datetime.timezone.utc) | tzinfo=datetime.timezone.utc) | ||||
type_visit1 = 'git' | |||||
date_visit2 = datetime.datetime(2017, 1, 1, 23, 0, 0, | date_visit2 = datetime.datetime(2017, 1, 1, 23, 0, 0, | ||||
tzinfo=datetime.timezone.utc) | tzinfo=datetime.timezone.utc) | ||||
type_visit2 = 'hg' | |||||
date_visit3 = datetime.datetime(2018, 1, 1, 23, 0, 0, | date_visit3 = datetime.datetime(2018, 1, 1, 23, 0, 0, | ||||
tzinfo=datetime.timezone.utc) | tzinfo=datetime.timezone.utc) | ||||
type_visit3 = 'deb' | |||||
release = { | release = { | ||||
'id': b'87659012345678901234', | 'id': b'87659012345678901234', | ||||
'name': b'v0.0.1', | 'name': b'v0.0.1', | ||||
'author': { | 'author': { | ||||
'name': b'olasd', | 'name': b'olasd', | ||||
'email': b'nic@olasd.fr', | 'email': b'nic@olasd.fr', | ||||
'fullname': b'olasd <nic@olasd.fr>', | 'fullname': b'olasd <nic@olasd.fr>', | ||||
▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines |