Open claude in the loop's home with the setup loaded through claude-release #811

Merged
lilleman merged 12 commits from item-486 into main 2026-12-04 06:37:30 +01:00
Showing only changes of commit eb2dd96cd8 - Show all commits
+2
View File
@@ -21,6 +21,8 @@ class ClaudeRelease(unittest.TestCase):
fake = FakeEffects(on_terminal_claude=[0])
code, err = self.run_main(["--resume", "abc", "--model", "opus", "-p", "hi"], fake)
self.assertEqual((code, err, fake.made("claude_on_terminal"), fake.terminal_folders), (0, "", [["--resume", "abc", "--model", "opus", "-p", "hi"]], ["/project"]))
# The effect adds the home and the tools' PATH to the environment; the command adds nothing of its own.
self.assertEqual(fake.terminal_environments, [{}])
def test_exits_with_the_code_of_claude(self):
self.assertEqual(self.run_main([], FakeEffects(on_terminal_claude=[3]))[0], 3)