mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-01 13:58:55 -06:00
refactor: commands read the repository root
This commit is contained in:
1 parent
39e10db75c
commit
9ac3145c5e
13 files changed
+102
-103
No files matched your search
@@ -602,7 +602,7 @@ class ExpertRuns(Lists):
|
||||
json.dumps({**LIST, "truth_files": None}), encoding="utf-8")
|
||||
path = Path(root) / "install" / "standalone" / "retroarch.json"
|
||||
path.write_text(json.dumps(LAYOUTS), encoding="utf-8")
|
||||
with mock.patch.object(validate_schemas, "ROOT", Path(root)):
|
||||
with mock.patch.object(validate_schemas, "REPO_ROOT", Path(root)):
|
||||
self.assertEqual(validate_schemas._semantic_standalone_checks(path, LAYOUTS),
|
||||
[])
|
||||
|
||||
|
||||
Reference in new issue
Block a user