Changeset View
Changeset View
Standalone View
Standalone View
conftest.py
Show All 13 Lines | |||||
@pytest.fixture | @pytest.fixture | ||||
def swh_loader_config(swh_storage_postgresql) -> Dict[str, Any]: | def swh_loader_config(swh_storage_postgresql) -> Dict[str, Any]: | ||||
return { | return { | ||||
'storage': { | 'storage': { | ||||
'cls': 'pipeline', | 'cls': 'pipeline', | ||||
'steps': [ | 'steps': [ | ||||
{'cls': 'validate'}, | |||||
{'cls': 'retry'}, | {'cls': 'retry'}, | ||||
{'cls': 'filter'}, | {'cls': 'filter'}, | ||||
{'cls': 'buffer'}, | {'cls': 'buffer'}, | ||||
{ | { | ||||
'cls': 'local', | 'cls': 'local', | ||||
'args': { | 'args': { | ||||
'db': swh_storage_postgresql.dsn, | 'db': swh_storage_postgresql.dsn, | ||||
'objstorage': { | 'objstorage': { | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |