mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 09:23:26 -05:00
docs: show installer runs as they really print
This commit is contained in:
1 parent
4d365ff57f
commit
5cc45794f4
7 files changed
+48
-19
No files matched your search
@@ -208,6 +208,24 @@ class RecalboxReadsItsSystemsInBatches(unittest.TestCase):
|
||||
self.assertEqual(len(cores), 120)
|
||||
|
||||
|
||||
class EveryNamedScraperExists(unittest.TestCase):
|
||||
"""The registry named lakka_targets, a scraper no file defines: a refresh
|
||||
of stale targets would have failed on its import."""
|
||||
|
||||
def test_registry_scrapers_are_modules(self):
|
||||
import yaml # noqa: PLC0415
|
||||
|
||||
registry = yaml.safe_load((REPO_ROOT / "platforms" / "_registry.yml").read_text())
|
||||
scraper_dir = REPO_ROOT / "scripts" / "scraper"
|
||||
for name, meta in registry["platforms"].items():
|
||||
with self.subTest(platform=name):
|
||||
if meta.get("scraper"):
|
||||
self.assertTrue((scraper_dir / f"{meta['scraper']}_scraper.py").is_file())
|
||||
if meta.get("target_scraper"):
|
||||
self.assertTrue((scraper_dir / "targets"
|
||||
/ f"{meta['target_scraper']}_scraper.py").is_file())
|
||||
|
||||
|
||||
class RetroPiePackageList(unittest.TestCase):
|
||||
"""RetroPie states its packages, and nothing else states them for it."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user