mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
fix: add missing cause argument to GitCommandNotFound exception
This commit is contained in:
parent
6a2dd41275
commit
653f0c77ef
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ class TestMain(TestCase):
|
|||
|
||||
@patch("git.Repo.init")
|
||||
def test_main_exit_with_git_command_not_found(self, mock_git_init):
|
||||
mock_git_init.side_effect = git.exc.GitCommandNotFound("git")
|
||||
mock_git_init.side_effect = git.exc.GitCommandNotFound("git", "Command 'git' not found")
|
||||
|
||||
try:
|
||||
result = main(["--exit"], input=DummyInput(), output=DummyOutput())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue