Make harness verification portable
This commit is contained in:
@@ -36,6 +36,9 @@ from aituner.worker import (
|
||||
from aituner.trace import TraceRequest
|
||||
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
def _write_study_assets(
|
||||
tmp_path: Path,
|
||||
*,
|
||||
@@ -842,7 +845,7 @@ class CoreFlowTests(unittest.TestCase):
|
||||
"--overwrite",
|
||||
],
|
||||
check=True,
|
||||
cwd="/home/gahow/phd/aituner",
|
||||
cwd=str(REPO_ROOT),
|
||||
)
|
||||
|
||||
windows_payload = json.loads((output_root / "windows.json").read_text(encoding="utf-8"))
|
||||
@@ -907,7 +910,7 @@ class CoreFlowTests(unittest.TestCase):
|
||||
"chat",
|
||||
"--overwrite",
|
||||
],
|
||||
cwd="/home/gahow/phd/aituner",
|
||||
cwd=str(REPO_ROOT),
|
||||
capture_output=True,
|
||||
text=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user