Commit Diff


commit - 81a9a907eb5ab1bca0c7e0754267a24134dbab1e
commit + 038c094d28759500e77961be2c30a9d0d5b3df84
blob - c2aa9dd366001ca8a1a3d07adaf60964a23135dd
blob + 04b8897a0846e94ceaa6316d6fd3ce7414b39c0d
--- swh/loader/git/tests/test_directory.py
+++ swh/loader/git/tests/test_directory.py
@@ -198,7 +198,10 @@ def test_git_loader_directory(swh_storage, datadir, tm
 
     # 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_storag
 
     # 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