mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-15 17:15:00 +00:00
improved prompting, fix ctags bug
This commit is contained in:
parent
4593e7812c
commit
680fc45fb3
4 changed files with 33 additions and 15 deletions
|
@ -5,6 +5,7 @@ from unittest.mock import MagicMock
|
|||
from aider.commands import Commands
|
||||
from aider.io import InputOutput
|
||||
|
||||
|
||||
class TestCommands(TestCase):
|
||||
def test_cmd_add(self):
|
||||
# Create a temporary directory and change the current working directory
|
||||
|
@ -13,7 +14,9 @@ class TestCommands(TestCase):
|
|||
|
||||
# Initialize the Commands and InputOutput objects
|
||||
io = InputOutput(pretty=False, yes=True)
|
||||
coder = MagicMock()
|
||||
from aider.coder import Coder
|
||||
|
||||
coder = Coder(io)
|
||||
commands = Commands(io, coder)
|
||||
|
||||
# Call the cmd_add method with 'foo.txt' and 'bar.txt' as a single string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue