refactor: commands read the repository root

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 23:14:52 +01:00
1 parent 39e10db75c
commit 9ac3145c5e
13 files changed
+102 -103

No files matched your search

+1 -1
View File
@@ -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()