mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 12:58:51 -06:00
refactor: move verify, slots, crossref into packs
The three commands keep their parser, main and printing. Scans, scopes, report text, the JSON forms, the strict gate and the destinations file live in new packs modules, one subject each.
This commit is contained in:
1 parent
1e95a73a4d
commit
6ba52a9682
21 files changed
+897
-774
No files matched your search
@@ -24,10 +24,10 @@ import diff_truth
|
||||
import pipeline
|
||||
from orchestrate import guards, labels, prepare, runner
|
||||
from resolve import truth
|
||||
import verify
|
||||
from packs import coverage
|
||||
from packs import report as packs_report
|
||||
from packs import verdicts
|
||||
from packs import verifysummary
|
||||
from tests.sources import script_source
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
@@ -527,7 +527,7 @@ class TheVerifySummaryCountsDiscrepancies(unittest.TestCase):
|
||||
"discrepancy": "unmet"},
|
||||
{"system": "arcade", "name": "x.zip", "status": verdicts.Status.MISSING},
|
||||
]
|
||||
summary = verify._overall_summary([
|
||||
summary = verifysummary.overall_summary([
|
||||
({"severity_counts": {}, "details": details}, ["RetroArch"]),
|
||||
({"severity_counts": {}, "details": []}, ["Batocera"]),
|
||||
])
|
||||
@@ -552,7 +552,7 @@ class EveryPlatformInTheSummaryCarriesItsCount(unittest.TestCase):
|
||||
def test_a_count_of_one_is_written(self):
|
||||
one = {"severity_counts": {verdicts.Severity.WARNING: 1}, "details": []}
|
||||
two = {"severity_counts": {verdicts.Severity.WARNING: 2}, "details": []}
|
||||
summary = verify._overall_summary([(two, ["Lakka"]), (one, ["ROCKNIX"])])
|
||||
summary = verifysummary.overall_summary([(two, ["Lakka"]), (one, ["ROCKNIX"])])
|
||||
self.assertIn("3 warning (Lakka 2, ROCKNIX 1)", summary)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user