test(issue-17): item 4 - l15's stand-in control root carries lib_py/ints.py next to lib_int.sh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6947d3c785
commit
66d1490230
1 file changed
+2
@@ -394,6 +394,8 @@ def test_l15_truncated_diff_refuses_diff_only_but_not_local(wt_repo, monkeypatch
|
|||||||
dst.mkdir(parents=True)
|
dst.mkdir(parents=True)
|
||||||
(dst / "diff_collect.sh").write_text(DIFF_SH.read_text())
|
(dst / "diff_collect.sh").write_text(DIFF_SH.read_text())
|
||||||
(dst.parent.parent / "lib_int.sh").write_text((SKILLS / "lib_int.sh").read_text()) # its integer rule
|
(dst.parent.parent / "lib_int.sh").write_text((SKILLS / "lib_int.sh").read_text()) # its integer rule
|
||||||
|
(dst.parent.parent / "lib_py").mkdir() # Issue #17 item 4: lib_int.sh runs lib_py/ints.py
|
||||||
|
(dst.parent.parent / "lib_py" / "ints.py").write_text((SKILLS / "lib_py" / "ints.py").read_text())
|
||||||
monkeypatch.setenv("MAM_DIFF_MAX_LINES", "1")
|
monkeypatch.setenv("MAM_DIFF_MAX_LINES", "1")
|
||||||
_state(monkeypatch, LOCAL_ROWS + [REMOTE_ROW])
|
_state(monkeypatch, LOCAL_ROWS + [REMOTE_ROW])
|
||||||
argv = ["--worktree", str(wt), "--base", before, "--review-only", "--remote-review", "diff-only"]
|
argv = ["--worktree", str(wt), "--base", before, "--review-only", "--remote-review", "diff-only"]
|
||||||
|
|||||||
Reference in new issue
Block a user