mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
fix: Remove 'pretty' argument from Coder.create calls in tests
This commit is contained in:
parent
564ad3964b
commit
ba895c656a
1 changed files with 2 additions and 2 deletions
|
@ -286,7 +286,7 @@ class TestCoder(unittest.TestCase):
|
||||||
files = [file1, file2]
|
files = [file1, file2]
|
||||||
|
|
||||||
# Initialize the Coder object with the mocked IO and mocked repo
|
# Initialize the Coder object with the mocked IO and mocked repo
|
||||||
coder = Coder.create(self.GPT35, None, io=InputOutput(), fnames=files, pretty=False)
|
coder = Coder.create(self.GPT35, None, io=InputOutput(), fnames=files)
|
||||||
|
|
||||||
def mock_send(*args, **kwargs):
|
def mock_send(*args, **kwargs):
|
||||||
coder.partial_response_content = "ok"
|
coder.partial_response_content = "ok"
|
||||||
|
@ -565,7 +565,7 @@ three
|
||||||
repo.git.commit("-m", "initial")
|
repo.git.commit("-m", "initial")
|
||||||
|
|
||||||
io = InputOutput(yes=True)
|
io = InputOutput(yes=True)
|
||||||
coder = Coder.create(self.GPT35, "diff", io=io, fnames=[str(fname)], pretty=False)
|
coder = Coder.create(self.GPT35, "diff", io=io, fnames=[str(fname)])
|
||||||
|
|
||||||
def mock_send(*args, **kwargs):
|
def mock_send(*args, **kwargs):
|
||||||
coder.partial_response_content = f"""
|
coder.partial_response_content = f"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue