mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 02:57:52 -06:00
refactor: move check_freshness logic to freshness
This commit is contained in:
1 parent
5fa802a3c5
commit
8a2ef047ab
26 files changed
+2171
-1987
No files matched your search
@@ -278,9 +278,9 @@ class SavedFindings(unittest.TestCase):
|
||||
"""romfolders was added to check_freshness and not here: its rows
|
||||
were dropped from a saved report without a word, and --only
|
||||
romfolders was refused."""
|
||||
import check_freshness
|
||||
from freshness.findings import AREAS
|
||||
|
||||
self.assertEqual(set(check_freshness.AREAS), set(rs.AUTO_AREAS + rs.MANUAL_AREAS))
|
||||
self.assertEqual(set(AREAS), set(rs.AUTO_AREAS + rs.MANUAL_AREAS))
|
||||
jobs, surfaced, _ = rs.plan_jobs([finding("romfolders", "muos")], REGISTRY, {})
|
||||
self.assertEqual((jobs, [f["subject"] for f in surfaced]), ([], ["muos"]))
|
||||
|
||||
|
||||
Reference in new issue
Block a user