mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
style: sort imports and fix quotation marks
This commit is contained in:
parent
fb87dd883c
commit
645252168c
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ import tempfile
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
from unittest.mock import MagicMock, patch, mock_open
|
from unittest.mock import MagicMock, mock_open, patch
|
||||||
|
|
||||||
import git
|
import git
|
||||||
from prompt_toolkit.input import DummyInput
|
from prompt_toolkit.input import DummyInput
|
||||||
|
@ -29,7 +29,7 @@ class TestMain(TestCase):
|
||||||
# Fake home directory prevents tests from using the real ~/.aider.conf.yml file:
|
# Fake home directory prevents tests from using the real ~/.aider.conf.yml file:
|
||||||
self.homedir_obj = IgnorantTemporaryDirectory()
|
self.homedir_obj = IgnorantTemporaryDirectory()
|
||||||
os.environ["HOME"] = self.homedir_obj.name
|
os.environ["HOME"] = self.homedir_obj.name
|
||||||
self.input_patcher = patch('builtins.input', return_value='')
|
self.input_patcher = patch("builtins.input", return_value="")
|
||||||
self.mock_input = self.input_patcher.start()
|
self.mock_input = self.input_patcher.start()
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue