mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-28 04:18:52 -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
@@ -50,7 +50,7 @@ class SemanticManifestValidation(unittest.TestCase):
|
||||
)
|
||||
|
||||
output = io.StringIO()
|
||||
with mock.patch.object(validate_schemas, "ROOT", root), mock.patch.object(
|
||||
with mock.patch.object(validate_schemas, "REPO_ROOT", root), mock.patch.object(
|
||||
sys, "argv", ["validate_schemas.py"]
|
||||
), redirect_stdout(output):
|
||||
result = validate_schemas.main()
|
||||
|
||||
Reference in new issue
Block a user