Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9123956
D1089.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D1089.diff
View Options
diff --git a/swh/indexer/tests/utils.py b/swh/indexer/tests/utils.py
--- a/swh/indexer/tests/utils.py
+++ b/swh/indexer/tests/utils.py
@@ -373,37 +373,6 @@
"""
}
-CONTENT_METADATA = [{
- 'tool': {
- 'configuration': {
- 'type': 'local',
- 'context': 'NpmMapping'
- },
- 'version': '0.0.1',
- 'id': 6,
- 'name': 'swh-metadata-translator'
- },
- 'id': b'cde',
- 'translated_metadata': {
- '@context': 'https://doi.org/10.5063/schema/codemeta-2.0',
- 'type': 'SoftwareSourceCode',
- 'codemeta:issueTracker':
- 'https://github.com/librariesio/yarn-parser/issues',
- 'version': '1.0.0',
- 'name': 'yarn-parser',
- 'schema:author': 'Andrew Nesbitt',
- 'url':
- 'https://github.com/librariesio/yarn-parser#readme',
- 'processorRequirements': {'node': '7.5'},
- 'license': 'AGPL-3.0',
- 'keywords': ['yarn', 'parse', 'lock', 'dependencies'],
- 'schema:codeRepository':
- 'git+https://github.com/librariesio/yarn-parser.git',
- 'description':
- 'Tiny web service for parsing yarn.lock files',
- }
-}]
-
def filter_dict(d, keys):
'return a copy of the dict with keys deleted'
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 20, 6:26 PM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228666
Attached To
D1089: Remove useless CONTENT_METADATA constant.
Event Timeline
Log In to Comment