mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
say yes, so the test attempts to add
This commit is contained in:
parent
3a3d34b8f2
commit
5f4fc06abc
1 changed files with 3 additions and 2 deletions
|
@ -192,8 +192,9 @@ class TestCoder(unittest.TestCase):
|
||||||
def test_check_for_file_mentions_read_only(self):
|
def test_check_for_file_mentions_read_only(self):
|
||||||
with GitTemporaryDirectory():
|
with GitTemporaryDirectory():
|
||||||
io = InputOutput(
|
io = InputOutput(
|
||||||
pretty=False, yes=False
|
pretty=False,
|
||||||
) # Set yes=False to simulate user not confirming
|
yes=True,
|
||||||
|
)
|
||||||
coder = Coder.create(self.GPT35, None, io)
|
coder = Coder.create(self.GPT35, None, io)
|
||||||
|
|
||||||
fname = Path("readonly_file.txt")
|
fname = Path("readonly_file.txt")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue