Changeset View
Changeset View
Standalone View
Standalone View
swh/journal/tests/conftest.py
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Lines | ORIGINS = [ | ||||
}, | }, | ||||
{ | { | ||||
'url': 'https://overtherainbow.org/fox/den', | 'url': 'https://overtherainbow.org/fox/den', | ||||
} | } | ||||
] | ] | ||||
ORIGIN_VISITS = [ | ORIGIN_VISITS = [ | ||||
{ | { | ||||
'origin': ORIGINS[0], | 'origin': ORIGINS[0]['url'], | ||||
'date': '2013-05-07 04:20:39.369271+00:00', | 'date': '2013-05-07 04:20:39.369271+00:00', | ||||
'snapshot': None, # TODO | 'snapshot': None, # TODO | ||||
'status': 'ongoing', # TODO | 'status': 'ongoing', # TODO | ||||
'metadata': {'foo': 'bar'}, | 'metadata': {'foo': 'bar'}, | ||||
'type': 'git', | 'type': 'git', | ||||
}, | }, | ||||
{ | { | ||||
'origin': ORIGINS[0], | 'origin': ORIGINS[0]['url'], | ||||
'date': '2018-11-27 17:20:39+00:00', | 'date': '2018-11-27 17:20:39+00:00', | ||||
'snapshot': None, # TODO | 'snapshot': None, # TODO | ||||
'status': 'ongoing', # TODO | 'status': 'ongoing', # TODO | ||||
'metadata': {'baz': 'qux'}, | 'metadata': {'baz': 'qux'}, | ||||
'type': 'git', | 'type': 'git', | ||||
} | } | ||||
] | ] | ||||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |