Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/tests/test_origin_head.py
Show All 12 Lines | |||||
ORIGIN_HEAD_CONFIG = { | ORIGIN_HEAD_CONFIG = { | ||||
**BASE_TEST_CONFIG, | **BASE_TEST_CONFIG, | ||||
'tools': { | 'tools': { | ||||
'name': 'origin-metadata', | 'name': 'origin-metadata', | ||||
'version': '0.0.1', | 'version': '0.0.1', | ||||
'configuration': {}, | 'configuration': {}, | ||||
}, | }, | ||||
'tasks': { | 'tasks': { | ||||
'revision_metadata': None, | 'revision_intrinsic_metadata': None, | ||||
'origin_intrinsic_metadata': None, | 'origin_intrinsic_metadata': None, | ||||
} | } | ||||
} | } | ||||
class OriginHeadTestIndexer(OriginHeadIndexer): | class OriginHeadTestIndexer(OriginHeadIndexer): | ||||
"""Specific indexer whose configuration is enough to satisfy the | """Specific indexer whose configuration is enough to satisfy the | ||||
indexing tests. | indexing tests. | ||||
▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines |