refactor: look up a path's sha1 with sha1_at

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 05:59:51 +01:00
1 parent 82d3f595de
commit 8fdc00e07f
8 files changed
+43 -51

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ class TheGivenDatabase(_Inputs):
def test_paths_are_read_from_the_given_collection(self) -> None:
self.use(db=self.db)
self.assertEqual(platformfiles._collection_sha1_by_path(), {"bios/X/only-here.bin": SHA1})
self.assertEqual(platformfiles._collection_sha1("bios/X/only-here.bin"), SHA1)
class TheGivenProfilesAndPlatforms(_Inputs):