Page MenuHomeSoftware Heritage

D4404.diff
No OneTemporary

D4404.diff

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

Mime Type
text/plain
Expires
Nov 5 2024, 4:11 PM (11 w, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228812

Event Timeline