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,)