fix: badge a differing hash as Other hash

This commit is contained in:
Abdessamad Derraz committed 2026-11-05 12:16:59 +01:00
1 parent b62ebf384b
commit e3a9d6479b
2 files changed
+7 -5

No files matched your search

+2 -2
View File
@@ -126,8 +126,8 @@ class ARowPerFile(unittest.TestCase):
def test_status_words(self):
cases = {
("missing", ""): ("Missing", "danger"),
("untested", "declared hash contradicted by the local file"): ("Wrong hash", "warning"),
("untested", "expected 1234... got 5678..."): ("Wrong hash", "warning"),
("untested", "declared hash contradicted by the local file"): ("Other hash", "warning"),
("untested", "expected 1234... got 5678..."): ("Other hash", "warning"),
("untested", "bios/x read error"): ("Untested", "warning"),
}
for (status, reason), (word, tone) in cases.items():