mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 18:47:53 -06:00
refactor: move generate_db logic into collection
This commit is contained in:
1 parent
9de949dfdb
commit
ed6ae84d2c
37 files changed
+988
-884
No files matched your search
@@ -18,7 +18,7 @@ import tempfile
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
import generate_db
|
||||
from collection.indexes import build_indexes
|
||||
from packs.report import print_platform_result
|
||||
from packs.coverage import verify_platform
|
||||
|
||||
@@ -32,7 +32,7 @@ class UncachedDataDirectoryNotice(unittest.TestCase):
|
||||
os.chdir(self._tmp.name)
|
||||
Path("emulators").mkdir()
|
||||
Path("data/present").mkdir(parents=True)
|
||||
self.db = {"files": {}, "indexes": generate_db.build_indexes({}, {})}
|
||||
self.db = {"files": {}, "indexes": build_indexes({}, {})}
|
||||
self.config = {
|
||||
"platform": "Tree", "verification_mode": "md5",
|
||||
"systems": {"msx": {"files": [{
|
||||
|
||||
Reference in new issue
Block a user