Kill the mutant that replaces claude-release's added environment
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-12-04 05:47:26 +01:00
parent 9617b45407
commit eb2dd96cd8
+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)