refactor: probes read the repository root

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 20:37:17 +01:00
1 parent 3bfd72ba7f
commit a40c75e689
4 files changed
+41 -41

No files matched your search

+1 -1
View File
@@ -302,7 +302,7 @@ class RecordsNameNoLocalPath(unittest.TestCase):
import unittest.mock
work = TMP / "error-paths"
script = pp.ROOT / "scripts" / "core_probe.py"
script = REPO_ROOT / "scripts" / "core_probe.py"
def fake_run(command, **kwargs):
return subprocess.CompletedProcess(command, 1, "", f' File "{script}", line 9\n')