Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/tests/utils.py
Show All 13 Lines | |||||
from swh.model import hashutil | from swh.model import hashutil | ||||
from swh.model.hashutil import hash_to_bytes, hash_to_hex | from swh.model.hashutil import hash_to_bytes, hash_to_hex | ||||
from swh.indexer.storage import INDEXER_CFG_KEY | from swh.indexer.storage import INDEXER_CFG_KEY | ||||
BASE_TEST_CONFIG: Dict[str, Dict[str, Any]] = { | BASE_TEST_CONFIG: Dict[str, Dict[str, Any]] = { | ||||
'storage': { | 'storage': { | ||||
'cls': 'memory', | 'cls': 'pipeline', | ||||
'steps': [ | |||||
{'cls': 'validate'}, | |||||
{'cls': 'memory'}, | |||||
] | |||||
}, | }, | ||||
'objstorage': { | 'objstorage': { | ||||
'cls': 'memory', | 'cls': 'memory', | ||||
'args': { | 'args': { | ||||
}, | }, | ||||
}, | }, | ||||
INDEXER_CFG_KEY: { | INDEXER_CFG_KEY: { | ||||
'cls': 'memory', | 'cls': 'memory', | ||||
▲ Show 20 Lines • Show All 732 Lines • Show Last 20 Lines |