Skip to content
Snippets Groups Projects
Commit 038c094d authored by Antoine Lambert's avatar Antoine Lambert
Browse files

test_directory: Fix failures after nar extid version bump

Related to swh-loader-core@c9b51f8b.
parent 81a9a907
No related branches found
No related tags found
1 merge request!178test_directory: Fix failures after nar extid version bump
Pipeline #7245 passed
......@@ -198,7 +198,10 @@ def test_git_loader_directory(swh_storage, datadir, tmp_path, reference):
# Ensure the extids got stored as well
extids = fetch_extids_from_checksums(
loader.storage, checksum_layout="nar", checksums=checksums
loader.storage,
checksum_layout="nar",
checksums=checksums,
extid_version=loader.extid_version,
)
assert len(extids) == len(checksums)
......@@ -240,7 +243,10 @@ def test_loader_git_directory_hash_mismatch(swh_storage, datadir, tmp_path):
# Ensure no extids got stored
extids = fetch_extids_from_checksums(
loader.storage, checksum_layout="nar", checksums=faulty_checksums
loader.storage,
checksum_layout="nar",
checksums=faulty_checksums,
extid_version=loader.extid_version,
)
assert len(extids) == 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment