Changeset View
Changeset View
Standalone View
Standalone View
swh/web/tests/data.py
Show All 29 Lines | |||||
from swh.web.common import service | from swh.web.common import service | ||||
from swh.web.common.highlightjs import get_hljs_language_from_filename | from swh.web.common.highlightjs import get_hljs_language_from_filename | ||||
# Module used to initialize data that will be provided as tests input | # Module used to initialize data that will be provided as tests input | ||||
# Configuration for git loader | # Configuration for git loader | ||||
_TEST_LOADER_CONFIG = { | _TEST_LOADER_CONFIG = { | ||||
'storage': { | 'storage': { | ||||
'cls': 'validate', | |||||
'storage': { | |||||
'cls': 'memory' | 'cls': 'memory' | ||||
} | |||||
}, | }, | ||||
'save_data': False, | 'save_data': False, | ||||
'max_content_size': 100 * 1024 * 1024, | 'max_content_size': 100 * 1024 * 1024, | ||||
} | } | ||||
# Base content indexer configuration | # Base content indexer configuration | ||||
_TEST_INDEXER_BASE_CONFIG = { | _TEST_INDEXER_BASE_CONFIG = { | ||||
'storage': { | 'storage': { | ||||
▲ Show 20 Lines • Show All 438 Lines • Show Last 20 Lines |