mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 21:34:59 +00:00
style: format code with black
This commit is contained in:
parent
81981e7e99
commit
6a2dd41275
1 changed files with 4 additions and 4 deletions
|
@ -620,9 +620,9 @@ class TestMain(TestCase):
|
||||||
)
|
)
|
||||||
self.assertTrue(coder.suggest_shell_commands)
|
self.assertTrue(coder.suggest_shell_commands)
|
||||||
|
|
||||||
@patch('git.Repo.init')
|
@patch("git.Repo.init")
|
||||||
def test_main_exit_with_git_command_not_found(self, mock_git_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")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
result = main(["--exit"], input=DummyInput(), output=DummyOutput())
|
result = main(["--exit"], input=DummyInput(), output=DummyOutput())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue