Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/tests/test_metadata.py
Show All 32 Lines | def prepare(self): | ||||
self.tool = self.tools[0] | self.tool = self.tools[0] | ||||
self.results = [] | self.results = [] | ||||
class TestRevisionMetadataIndexer(RevisionMetadataIndexer): | class TestRevisionMetadataIndexer(RevisionMetadataIndexer): | ||||
"""Specific indexer whose configuration is enough to satisfy the | """Specific indexer whose configuration is enough to satisfy the | ||||
indexing tests. | indexing tests. | ||||
""" | """ | ||||
ContentMetadataIndexer = TestContentMetadataIndexer | |||||
def prepare(self): | def prepare(self): | ||||
self.config = { | self.config = { | ||||
'rescheduling_task': None, | 'rescheduling_task': None, | ||||
'storage': { | 'storage': { | ||||
'cls': 'remote', | 'cls': 'remote', | ||||
'args': { | 'args': { | ||||
'url': 'http://localhost:9999', | 'url': 'http://localhost:9999', | ||||
} | } | ||||
▲ Show 20 Lines • Show All 315 Lines • Show Last 20 Lines |