Changeset View
Changeset View
Standalone View
Standalone View
swh/web/tests/data.py
Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | _TEST_ORIGINS = [ | ||||
'url': 'https://github.com/wcoder/highlightjs-line-numbers.js', | 'url': 'https://github.com/wcoder/highlightjs-line-numbers.js', | ||||
'archive': 'highlightjs-line-numbers.js.zip' | 'archive': 'highlightjs-line-numbers.js.zip' | ||||
}, | }, | ||||
{ | { | ||||
'id': 2, | 'id': 2, | ||||
'type': 'git', | 'type': 'git', | ||||
'url': 'https://github.com/memononen/libtess2', | 'url': 'https://github.com/memononen/libtess2', | ||||
'archive': 'libtess2.zip' | 'archive': 'libtess2.zip' | ||||
}, | |||||
{ | |||||
'id': 3, | |||||
'type': 'git', | |||||
'url': 'repo_with_submodules', | |||||
'archive': 'repo_with_submodules.tgz' | |||||
} | } | ||||
] | ] | ||||
# Tests data initialization | # Tests data initialization | ||||
def _init_tests_data(): | def _init_tests_data(): | ||||
# Load git repositories from archives | # Load git repositories from archives | ||||
loader = GitLoaderFromArchive(config=_TEST_LOADER_CONFIG) | loader = GitLoaderFromArchive(config=_TEST_LOADER_CONFIG) | ||||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |