mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 06:48:52 -06:00
refactor: group scraper modules by subject
scraper/ held the platform scrapers next to three other subjects. The launcher readers move to scraper/launchers/ (their _launchers suffix dropped), the MAME and FBNeo hash scrapers and romset importers to scraper/arcade/, the DAT readers and dump catalog importers to scraper/dats/. The buildbot check is a freshness check and moves to freshness/buildbot.py. Every -m command, workflow job, schema description and page follows. The scraper discovery in scraper/__init__.py had no caller: the registry's scraper: field names the module, and the pages now say so.
This commit is contained in:
1 parent
4e01cff854
commit
e1bad01b82
130 files changed
+445
-414
No files matched your search
@@ -1229,7 +1229,7 @@ class HashScraperRefusesAnEmptyRead(unittest.TestCase):
|
||||
"commit": "abc", "bios_sets": sets}
|
||||
|
||||
def test_mame_raises_and_writes_no_cache(self):
|
||||
from scraper import mame_hash_scraper as m
|
||||
from scraper.arcade import mame_hash_scraper as m
|
||||
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
cache = Path(tmp) / "mame-hashes.json"
|
||||
@@ -1242,7 +1242,7 @@ class HashScraperRefusesAnEmptyRead(unittest.TestCase):
|
||||
|
||||
|
||||
def test_fbneo_raises_and_writes_no_cache(self):
|
||||
from scraper import fbneo_hash_scraper as f
|
||||
from scraper.arcade import fbneo_hash_scraper as f
|
||||
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
cache = Path(tmp) / "fbneo-hashes.json"
|
||||
@@ -1254,7 +1254,7 @@ class HashScraperRefusesAnEmptyRead(unittest.TestCase):
|
||||
self.assertFalse(cache.exists())
|
||||
|
||||
def test_an_empty_or_unreadable_cache_is_not_served(self):
|
||||
from scraper.sparse_clone import fresh_cache
|
||||
from scraper.arcade.sparse_clone import fresh_cache
|
||||
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
cache = Path(tmp) / "hashes.json"
|
||||
|
||||
Reference in new issue
Block a user