say yes, so the test attempts to add

This commit is contained in:
Paul Gauthier 2024-08-12 14:34:53 -07:00
parent 3a3d34b8f2
commit 5f4fc06abc

View file

@ -192,8 +192,9 @@ class TestCoder(unittest.TestCase):
def test_check_for_file_mentions_read_only(self):
with GitTemporaryDirectory():
io = InputOutput(
pretty=False, yes=False
) # Set yes=False to simulate user not confirming
pretty=False,
yes=True,
)
coder = Coder.create(self.GPT35, None, io)
fname = Path("readonly_file.txt")