Open claude in the loop's home with the setup loaded through claude-release #811
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user