mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 12:58:51 -06:00
fix: gaps badge reads verify's severity counts
The badge refiltered coverage details for missing required firmware and ignored hle_fallback: a required file the core replaces by HLE is INFO in verify and passes --strict, yet showed as a red required gap. The count now comes from severity_counts through packs.verdicts.blocking_missing.
This commit is contained in:
1 parent
ff3b2699bd
commit
380b3df823
5 files changed
+33
-23
No files matched your search
@@ -44,7 +44,8 @@ class CoverageReadsTheGivenProfiles(unittest.TestCase):
|
||||
|
||||
def fake_verify(_config, _db, emulators_dir, **_kwargs):
|
||||
seen.append(emulators_dir)
|
||||
return {"status_counts": {}, "total_files": 0, "undeclared_files": [], "details": []}
|
||||
return {"status_counts": {}, "severity_counts": {}, "verification_mode": "existence",
|
||||
"total_files": 0, "undeclared_files": [], "details": []}
|
||||
|
||||
with mock.patch.object(readme, "verify_platform", fake_verify), \
|
||||
mock.patch.object(readme, "load_emulator_profiles", return_value={}):
|
||||
|
||||
Reference in new issue
Block a user