Open claude on a terminal with CLAUDE_CODE_SANDBOXED set, and stop writing ~/.claude.json

This commit is contained in:
2026-10-30 21:31:44 +01:00
parent 28b714d5ca
commit 0a0a2207c9
15 changed files with 22 additions and 135 deletions
-6
View File
@@ -1890,11 +1890,5 @@ class JudgeFailures(unittest.TestCase):
self.assertEqual([clause for *_, clause in clauses if clause not in judge_clause], [])
class Worktrees(unittest.TestCase):
def test_lists_the_root_alone_when_git_cannot_start(self):
fake = FakeEffects(git=[Failure("git worktree list --porcelain could not start: [Errno 2] No such file or directory: 'git'")])
self.assertEqual(checkout.worktrees("/r", fake.effects()), ["/r"])
if __name__ == "__main__":
unittest.main()