mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
lint
This commit is contained in:
parent
ec91eb670e
commit
fed24aa444
3 changed files with 16 additions and 22 deletions
|
@ -29,7 +29,7 @@ class TestCoder(unittest.TestCase):
|
|||
|
||||
io = InputOutput(yes=True)
|
||||
# Initialize the Coder object with the mocked IO and mocked repo
|
||||
coder = Coder.create(models.GPT4, None, io, fnames=[str(fname)])
|
||||
Coder.create(models.GPT4, None, io, fnames=[str(fname)])
|
||||
|
||||
self.assertTrue(fname.exists())
|
||||
|
||||
|
@ -40,7 +40,6 @@ class TestCoder(unittest.TestCase):
|
|||
# Check that the latest commit message is "I added str(fname)"
|
||||
self.assertEqual(commit_message, f"I added {str(fname)}")
|
||||
|
||||
|
||||
def test_allowed_to_edit(self):
|
||||
with GitTemporaryDirectory():
|
||||
repo = git.Repo(Path.cwd())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue