Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/tests/utils.py
Show First 20 Lines • Show All 401 Lines • ▼ Show 20 Lines | YARN_PARSER_METADATA = { | ||||
'license': 'https://spdx.org/licenses/AGPL-3.0', | 'license': 'https://spdx.org/licenses/AGPL-3.0', | ||||
'version': '1.0.0', | 'version': '1.0.0', | ||||
'description': | 'description': | ||||
'Tiny web service for parsing yarn.lock files', | 'Tiny web service for parsing yarn.lock files', | ||||
'issueTracker': | 'issueTracker': | ||||
'https://github.com/librariesio/yarn-parser/issues', | 'https://github.com/librariesio/yarn-parser/issues', | ||||
'name': 'yarn-parser', | 'name': 'yarn-parser', | ||||
'keywords': ['yarn', 'parse', 'lock', 'dependencies'], | 'keywords': ['yarn', 'parse', 'lock', 'dependencies'], | ||||
'type': 'SoftwareSourceCode', | |||||
} | } | ||||
json_dict_keys = strategies.one_of( | json_dict_keys = strategies.one_of( | ||||
strategies.characters(), | strategies.characters(), | ||||
*map(strategies.just, ['type', 'url', 'name', 'email', '@id', | *map(strategies.just, ['type', 'url', 'name', 'email', '@id', | ||||
'@context', 'repository', 'license', | '@context', 'repository', 'license', | ||||
'repositories', 'licenses' | 'repositories', 'licenses' | ||||
▲ Show 20 Lines • Show All 344 Lines • Show Last 20 Lines |