Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066622
D4404.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
D4404.diff
View Options
diff --git a/swh/loader/package/nixguix/tests/test_nixguix.py b/swh/loader/package/nixguix/tests/test_nixguix.py
--- a/swh/loader/package/nixguix/tests/test_nixguix.py
+++ b/swh/loader/package/nixguix/tests/test_nixguix.py
@@ -288,9 +288,7 @@
)
]
assert loader.storage.raw_extrinsic_metadata_get(
- type=MetadataTargetType.SNAPSHOT,
- id=snapshot_swhid,
- authority=metadata_authority,
+ MetadataTargetType.SNAPSHOT, snapshot_swhid, metadata_authority,
) == PagedResult(next_page_token=None, results=expected_metadata,)
diff --git a/swh/loader/package/npm/tests/test_npm.py b/swh/loader/package/npm/tests/test_npm.py
--- a/swh/loader/package/npm/tests/test_npm.py
+++ b/swh/loader/package/npm/tests/test_npm.py
@@ -428,9 +428,7 @@
)
]
assert loader.storage.raw_extrinsic_metadata_get(
- type=MetadataTargetType.DIRECTORY,
- id=directory_swhid,
- authority=metadata_authority,
+ MetadataTargetType.DIRECTORY, directory_swhid, metadata_authority,
) == PagedResult(next_page_token=None, results=expected_metadata,)
diff --git a/swh/loader/package/pypi/tests/test_pypi.py b/swh/loader/package/pypi/tests/test_pypi.py
--- a/swh/loader/package/pypi/tests/test_pypi.py
+++ b/swh/loader/package/pypi/tests/test_pypi.py
@@ -362,9 +362,7 @@
)
]
assert loader.storage.raw_extrinsic_metadata_get(
- type=MetadataTargetType.DIRECTORY,
- id=directory_swhid,
- authority=metadata_authority,
+ MetadataTargetType.DIRECTORY, directory_swhid, metadata_authority,
) == PagedResult(next_page_token=None, results=expected_metadata,)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 5 2024, 4:11 PM (11 w, 19 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228812
Attached To
D4404: Use positional arguments for storage.raw_extrinsic_metadata_get
Event Timeline
Log In to Comment